mirror of
https://github.com/esphome/esphome.git
synced 2025-09-10 07:12:21 +01:00
Change most references from hassio to ha-addon (#3178)
This commit is contained in:
@@ -144,8 +144,8 @@ def get_bool_env(var, default=False):
|
||||
return bool(os.getenv(var, default))
|
||||
|
||||
|
||||
def is_hassio():
|
||||
return get_bool_env("ESPHOME_IS_HASSIO")
|
||||
def is_ha_addon():
|
||||
return get_bool_env("ESPHOME_IS_HA_ADDON")
|
||||
|
||||
|
||||
def walk_files(path):
|
||||
|
Reference in New Issue
Block a user