Skip to content

Commit 9e36968

Browse files
Merge pull request #227 from danielperna84/devel
0.5.1
2 parents 7d4d1eb + 8cc7fbf commit 9e36968

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Version 0.5.1 (2022-09-08)
2+
- Bugfix: Disable Ace-internal yaml-linting (Issue #226)
3+
- Disable internal check for new releases
4+
15
Version 0.5.0 (2022-08-22)
26
- Add Generate UUID menu item @javawizard
37
- Harmonize Home Assistant term @salim-b

hass_configurator/configurator.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@
110110
SO.setFormatter(
111111
logging.Formatter('%(levelname)s:%(asctime)s:%(name)s:%(message)s'))
112112
LOG.addHandler(SO)
113-
RELEASEURL = "https://api.github.com/repos/danielperna84/hass-configurator/releases/latest"
114-
VERSION = "0.5.0"
113+
VERSION = "0.5.1"
115114
BASEDIR = "."
116115
DEV = False
117116
LISTENPORT = None
@@ -834,14 +833,6 @@ def do_GET(self):
834833
LOG.warning(err)
835834

836835
color = ""
837-
try:
838-
response = urllib.request.urlopen(RELEASEURL)
839-
latest = json.loads(response.read().decode('utf-8'))['tag_name']
840-
if VERSION != latest:
841-
color = "red-text"
842-
except Exception as err:
843-
LOG.warning("Exception getting release")
844-
LOG.warning(err)
845836
ws_api = ""
846837
if HASS_API:
847838
protocol, uri = HASS_API.split("//")

hass_configurator/dev.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2873,7 +2873,8 @@ <h4 class="grey-text text-darken-3"><a class="black-text" href="https://github.c
28732873
editor.setOptions(JSON.parse(localStorage.pochass));
28742874
editor.setOptions({
28752875
enableBasicAutocompletion: true,
2876-
enableSnippets: true
2876+
enableSnippets: true,
2877+
useWorker: false
28772878
})
28782879
editor.$blockScrolling = Infinity;
28792880
}
@@ -2885,7 +2886,8 @@ <h4 class="grey-text text-darken-3"><a class="black-text" href="https://github.c
28852886
displayIndentGuides: true,
28862887
highlightSelectedWord: true,
28872888
enableBasicAutocompletion: true,
2888-
enableSnippets: true
2889+
enableSnippets: true,
2890+
useWorker: false
28892891
})
28902892
editor.$blockScrolling = Infinity;
28912893
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
NAME = "hass-configurator"
66
PACKAGE_NAME = "hass_configurator"
7-
VERSION = "0.5.0"
7+
VERSION = "0.5.1"
88

99
setup(name=NAME,
1010
version=VERSION,

0 commit comments

Comments
 (0)