From de7fd616b6c51863a23d641df12af7412ae944bb Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Mon, 1 Aug 2022 18:15:56 +0200 Subject: [PATCH 1/7] Update config-overview.md --- docs/config-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 6213b754ddd0758cffe28b61fb91d6b062e4a632 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Mon, 1 Aug 2022 19:49:27 +0200 Subject: [PATCH 2/7] fix #379 --- apps/nspanel-lovelace-ui/luibackend/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index c251a2b4..7ceb461f 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] == ".": From 5dd8cd89045ad7020ba878a065617d19aa3e8a7c Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Wed, 3 Aug 2022 17:19:19 +0200 Subject: [PATCH 3/7] Update pages.py --- apps/nspanel-lovelace-ui/luibackend/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 7ceb461f..15ca40d6 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -637,7 +637,7 @@ 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")) From d4de608b5368c425f0560739f47a6972d8476728 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Wed, 3 Aug 2022 17:23:46 +0200 Subject: [PATCH 4/7] Update gen-chars.py --- HMI/fonts/gen-chars.py | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) 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", From ccac80ea695fe1398000ee8124434c9d8c85c89f Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Thu, 4 Aug 2022 00:03:31 +0200 Subject: [PATCH 5/7] Update waitingforcontent.md --- .github/ISSUE_TEMPLATE/waitingforcontent.md | 4 ++++ 1 file changed, 4 insertions(+) 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)_ From a2dea8314f2442b3f72ed2f3edd7be373bfb1855 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sat, 6 Aug 2022 22:35:48 +0200 Subject: [PATCH 6/7] Update configure_mqtt.md --- docs/configure_mqtt.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 From 8f17e475369a7c95ad0d6711bbb3d088dbeea3c6 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sun, 7 Aug 2022 23:03:49 +0200 Subject: [PATCH 7/7] #391 change fan detail page icon to fan --- apps/nspanel-lovelace-ui/luibackend/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 15ca40d6..c112ee78 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -644,7 +644,7 @@ class LuiPagesGen(object): 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")