From 5a0fbf12c905795a7f4252e88ee3a44d7a622004 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sun, 13 Mar 2022 00:48:52 +0100 Subject: [PATCH] unified names --- README.md | 10 +++++----- appdaemon/apps.yaml | 4 ++-- .../nspanel-lovelace-ui.py} | 6 +++--- hacs.json | 2 +- info.md | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) rename apps/{nspanel-lovelance-ui/nspanel-lovelance-ui.py => nspanel-lovelace-ui/nspanel-lovelace-ui.py} (99%) diff --git a/README.md b/README.md index 43919687..fefbe51c 100644 --- a/README.md +++ b/README.md @@ -117,12 +117,12 @@ AppDaemon automations in HACS, as these are not enabled by default: then require you to wait a few hours for HACS to be fully configured. In this case, you won't be able to proceed to the next steps until HACS is ready. -Now, to install NSPanel Lovelance UI Backend with HACS, follow these steps: +Now, to install NSPanel Lovelace UI Backend with HACS, follow these steps: 1. Click on `HACS` on the left menu bar in Home Assistant Web UI 2. Click on `Automations` in the right panel 3. Click on `Explore & download repositories` in the bottom right corner -4. Search for `NSPanel`, and click on `NSPanel Lovelance UI Backend` in the list that appears +4. Search for `NSPanel`, and click on `NSPanel Lovelace UI Backend` in the list that appears 5. In the bottom right corner of the panel that appears, click on `Download this repository with HACS` 6. A confirmation panel will appear, click on `Download`, and wait for HACS to @@ -132,7 +132,7 @@ Now, to install NSPanel Lovelance UI Backend with HACS, follow these steps: #### Manually Installing the Backend Application manually can be summarized by putting the content of the -`apps/` directory of this repository (the `nspanel-lovelance-ui/` directory) into the `apps/` +`apps/` directory of this repository (the `nspanel-lovelace-ui/` directory) into the `apps/` directory of your AppDaemon installation. @@ -234,8 +234,8 @@ You can have multiple nspanel sections. ```yaml nspanel-1: - module: nspanel-lovelance-ui - class: NsPanelLovelanceUIManager + module: nspanel-lovelace-ui + class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT" panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend" diff --git a/appdaemon/apps.yaml b/appdaemon/apps.yaml index 77f53c17..3c8e5efe 100644 --- a/appdaemon/apps.yaml +++ b/appdaemon/apps.yaml @@ -1,7 +1,7 @@ --- nspanel: - module: nspanel-lovelance-ui - class: NsPanelLovelanceUIManager + module: nspanel-lovelace-ui + class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT" panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend" diff --git a/apps/nspanel-lovelance-ui/nspanel-lovelance-ui.py b/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py similarity index 99% rename from apps/nspanel-lovelance-ui/nspanel-lovelance-ui.py rename to apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py index b0ca770d..55b07806 100644 --- a/apps/nspanel-lovelance-ui/nspanel-lovelance-ui.py +++ b/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py @@ -5,13 +5,13 @@ import hassapi as hass import math import colorsys -class NsPanelLovelanceUIManager(hass.Hass): +class NsPanelLovelaceUIManager(hass.Hass): def initialize(self): data = self.args["config"] - NsPanelLovelanceUI(self, data) + NsPanelLovelaceUI(self, data) -class NsPanelLovelanceUI: +class NsPanelLovelaceUI: def __init__(self, api, config): self.api = api self.config = config diff --git a/hacs.json b/hacs.json index 73c53e01..75ab931f 100644 --- a/hacs.json +++ b/hacs.json @@ -1,3 +1,3 @@ { - "name": "NSPanel Lovelance UI Backend" + "name": "NSPanel Lovelace UI Backend" } diff --git a/info.md b/info.md index b8b99adc..317e8bc6 100644 --- a/info.md +++ b/info.md @@ -1,13 +1,13 @@ -# NSPanel Lovelance UI +# NSPanel Lovelace UI -Checkout [README](https://github.com/joBr99/nspanel-lovelance-ui/blob/main/README.md) for detailed Instructions. +Checkout [README](https://github.com/joBr99/nspanel-lovelace-ui/blob/main/README.md) for detailed Instructions. ### App Configuration ```yaml nspanel-1: - module: nspanel-lovelance-ui - class: NsPanelLovelanceUIManager + module: nspanel-lovelace-ui + class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT" panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"