diff --git a/.github/ISSUE_TEMPLATE/waitingforcontent.md b/.github/ISSUE_TEMPLATE/waitingforcontent.md index bb9e1957..c4c7caa4 100644 --- a/.github/ISSUE_TEMPLATE/waitingforcontent.md +++ b/.github/ISSUE_TEMPLATE/waitingforcontent.md @@ -52,3 +52,7 @@ _Make sure your have performed every step and checked the applicable boxes befor ``` + +### ADDITIONAL INFORMATION + +_Add information about your setup here, if any. (For example docker version of AppDaemon instead of the HomeAssistant Add-on)_ diff --git a/HMI/fonts/gen-chars.py b/HMI/fonts/gen-chars.py index e1ef7358..53b702d2 100644 --- a/HMI/fonts/gen-chars.py +++ b/HMI/fonts/gen-chars.py @@ -226,28 +226,28 @@ used_items = [ "frontend.ui.card.light.color_temperature", "frontend.ui.card.light.position", - "frontend.state_attributes.climate.hvac_action.cooling" - "frontend.state_attributes.climate.hvac_action.drying" - "frontend.state_attributes.climate.hvac_action.fan" - "frontend.state_attributes.climate.hvac_action.heating" - "frontend.state_attributes.climate.hvac_action.idle" - "frontend.state_attributes.climate.hvac_action.off" + "frontend.state_attributes.climate.hvac_action.cooling", + "frontend.state_attributes.climate.hvac_action.drying", + "frontend.state_attributes.climate.hvac_action.fan", + "frontend.state_attributes.climate.hvac_action.heating", + "frontend.state_attributes.climate.hvac_action.idle", + "frontend.state_attributes.climate.hvac_action.off", - "backend.component.climate.state._.off" - "backend.component.climate.state._.heat" - "backend.component.climate.state._.cool" - "backend.component.climate.state._.heat_cool" - "backend.component.climate.state._.auto" - "backend.component.climate.state._.dry" - "backend.component.climate.state._.fan_only" + "backend.component.climate.state._.off", + "backend.component.climate.state._.heat", + "backend.component.climate.state._.cool", + "backend.component.climate.state._.heat_cool", + "backend.component.climate.state._.auto", + "backend.component.climate.state._.dry", + "backend.component.climate.state._.fan_only", - "backend.component.climate.state._.heat" + "backend.component.climate.state._.heat", - "frontend.ui.card.alarm_control_panel.arm_home" - "frontend.ui.card.alarm_control_panel.arm_away" - "frontend.ui.card.alarm_control_panel.arm_night" - "frontend.ui.card.alarm_control_panel.arm_vacation" - "frontend.ui.card.alarm_control_panel.disarm" + "frontend.ui.card.alarm_control_panel.arm_home", + "frontend.ui.card.alarm_control_panel.arm_away", + "frontend.ui.card.alarm_control_panel.arm_night", + "frontend.ui.card.alarm_control_panel.arm_vacation", + "frontend.ui.card.alarm_control_panel.disarm", "backend.component.binary_sensor.state._.off", "backend.component.binary_sensor.state.battery.off", diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index c251a2b4..c112ee78 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -179,7 +179,7 @@ class LuiPagesGen(object): if item.status is not None and self._ha_api.entity_exists(item.status): status_entity = self._ha_api.get_entity(item.status) icon_res = get_icon_id_ha(item.status.split(".")[0], state=status_entity.state, device_class=status_entity.attributes.get("device_class", "_"), overwrite=icon) - icon_color = self.get_entity_color(entity, overwrite=colorOverride) + icon_color = self.get_entity_color(status_entity, overwrite=colorOverride) if item.status.startswith("sensor") and cardType == "cardGrid": icon_res = status_entity.state[:4] if icon_res[-1] == ".": @@ -637,14 +637,14 @@ class LuiPagesGen(object): icon_color = self.get_entity_color(entity) speed = entity.attributes.get("percentage") speedMax = 100 - if(speed == None): + if(speed is None): speed = "disable" else: speed = round(entity.attributes.get("percentage")/entity.attributes.get("percentage_step")) speedMax = int(100/entity.attributes.get("percentage_step")) speed_translation = get_translation(self._locale, "frontend.ui.card.fan.speed") - self._send_mqtt_msg(f"entityUpdateDetail~{entity_id}~{get_icon_id('lightbulb')}~{icon_color}~{switch_val}~{speed}~{speedMax}~{speed_translation}") + self._send_mqtt_msg(f"entityUpdateDetail~{entity_id}~{get_icon_id('fan')}~{icon_color}~{switch_val}~{speed}~{speedMax}~{speed_translation}") def send_message_page(self, ident, heading, msg, b1, b2): self._send_mqtt_msg(f"pageType~popupNotify") diff --git a/docs/config-overview.md b/docs/config-overview.md index 055859df..d1c18c62 100644 --- a/docs/config-overview.md +++ b/docs/config-overview.md @@ -58,7 +58,7 @@ key | optional | type | default | description `sleepBrightness` | True | integer/complex | `20` | Brightness for the screen on the screensaver, see example below for complex/scheduled config. `screenBrightness` | True | integer/complex | `100` | Brightness for the screen during usage, config format is the same as sleepBrightness. `sleepTracking` | True | string | None | Forces screensaver brightness to 0 in case entity state is not_home or off, can be a group, person or device_tracker entity. -`sleepTrackingZones` | True | list | `["not_home", "off"]` | Allows you to set your own stats for sleepTracking +`sleepTrackingZones` | True | list | `["not_home", "off"]` | Allows you to set your own states for sleepTracking `sleepOverride` | True | complex | None | Allows overriding of the sleepBrightness if entity state is on, true or home. Overrides sleepBrightness but sleepTracking takes precedence. `locale` | True | string | `en_US` | Used by babel to determinante Date format on screensaver, also used for localization. `dateFormatBabel` | True | string | `full` | formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields diff --git a/docs/configure_mqtt.md b/docs/configure_mqtt.md index b26c9a08..8cd816ef 100644 --- a/docs/configure_mqtt.md +++ b/docs/configure_mqtt.md @@ -11,9 +11,8 @@ Change the topic to something unique for your panel, you will need this topic la # Configure MQTT Connection on AppDaemon -For the app to work you need a working MQTT Configuration in AppDaemon. Please add the configuration of your mqtt server, user and password to your existing `appdaemon.yaml` +For the app to work you need a working MQTT Configuration in AppDaemon. Please add the configuration of your mqtt server, user and password to your existing `appdaemon.yaml` Restart your AppDaemon Container (not HomeAssistant) after adding the MQTT Configuration. -NOTE: This are not the options of the AppDaemon Addon in Home Assistant. You will find this file in the following location: `config/appdaemon/appdeamon.yaml` ```yaml