Skip to content

Commit

Permalink
Merge pull request #227 from danielperna84/devel
Browse files Browse the repository at this point in the history
0.5.1
  • Loading branch information
danielperna84 authored Sep 8, 2022
2 parents 7d4d1eb + 8cc7fbf commit 9e36968
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 0.5.1 (2022-09-08)
- Bugfix: Disable Ace-internal yaml-linting (Issue #226)
- Disable internal check for new releases

Version 0.5.0 (2022-08-22)
- Add Generate UUID menu item @javawizard
- Harmonize Home Assistant term @salim-b
Expand Down
11 changes: 1 addition & 10 deletions hass_configurator/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@
SO.setFormatter(
logging.Formatter('%(levelname)s:%(asctime)s:%(name)s:%(message)s'))
LOG.addHandler(SO)
RELEASEURL = "https://api.github.com/repos/danielperna84/hass-configurator/releases/latest"
VERSION = "0.5.0"
VERSION = "0.5.1"
BASEDIR = "."
DEV = False
LISTENPORT = None
Expand Down Expand Up @@ -834,14 +833,6 @@ def do_GET(self):
LOG.warning(err)

color = ""
try:
response = urllib.request.urlopen(RELEASEURL)
latest = json.loads(response.read().decode('utf-8'))['tag_name']
if VERSION != latest:
color = "red-text"
except Exception as err:
LOG.warning("Exception getting release")
LOG.warning(err)
ws_api = ""
if HASS_API:
protocol, uri = HASS_API.split("//")
Expand Down
6 changes: 4 additions & 2 deletions hass_configurator/dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -2873,7 +2873,8 @@ <h4 class="grey-text text-darken-3"><a class="black-text" href="https://github.c
editor.setOptions(JSON.parse(localStorage.pochass));
editor.setOptions({
enableBasicAutocompletion: true,
enableSnippets: true
enableSnippets: true,
useWorker: false
})
editor.$blockScrolling = Infinity;
}
Expand All @@ -2885,7 +2886,8 @@ <h4 class="grey-text text-darken-3"><a class="black-text" href="https://github.c
displayIndentGuides: true,
highlightSelectedWord: true,
enableBasicAutocompletion: true,
enableSnippets: true
enableSnippets: true,
useWorker: false
})
editor.$blockScrolling = Infinity;
}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

NAME = "hass-configurator"
PACKAGE_NAME = "hass_configurator"
VERSION = "0.5.0"
VERSION = "0.5.1"

setup(name=NAME,
version=VERSION,
Expand Down

0 comments on commit 9e36968

Please sign in to comment.