mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 07:15:48 +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:
@@ -69,8 +69,7 @@ logger:
|
||||
|
||||
"""
|
||||
|
||||
|
||||
if os.environ['QUICKWIZARD']:
|
||||
if os.getenv('ESPHOMEYAML_QUICKWIZARD', False):
|
||||
def sleep(time):
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user