1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 22:28:14 +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:
Jimmy Hedman 2018-04-11 22:28:06 +02:00
parent a8fb079814
commit a9a39b50ec

View File

@ -69,8 +69,7 @@ logger:
"""
if os.environ['QUICKWIZARD']:
if os.getenv('ESPHOMEYAML_QUICKWIZARD', False):
def sleep(time):
pass
else: