1
0
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:
Jesse Hills
2022-02-09 23:46:20 +13:00
committed by GitHub
parent e7dd6c52ac
commit 5c22065135
24 changed files with 42 additions and 36 deletions

View File

@@ -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):