mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
Changed env-name and made it work without env.
- It only worked when environment variable was defined. Now it works with variable unset, which should be the normal case. - Added ESPHOMEYAML_ as prefix so it's ESPHOMEYAML_QUICKWIZARD.
This commit is contained in:
parent
a8fb079814
commit
a9a39b50ec
@ -69,8 +69,7 @@ logger:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if os.getenv('ESPHOMEYAML_QUICKWIZARD', False):
|
||||||
if os.environ['QUICKWIZARD']:
|
|
||||||
def sleep(time):
|
def sleep(time):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user