This commit is contained in:
joBr99
2022-05-24 16:33:37 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -20,8 +20,8 @@ NsPanel needs to be flashed with Tasmota (or upcoming with ESPHome)
## Features
- Entities Page with support for cover, switch, input_boolean, binary_sensor, sensor, button, number, scenes, script, input_button and light, input_text (read-only), lock, fan
- Grid Page with support for cover, switch, input_boolean, button, scenes, light and lock
- Entities Page with support for cover, switch, input_boolean, binary_sensor, sensor, button, number, scenes, script, input_button and light, input_text (read-only), lock, fan and automation
- Grid Page with support for cover, switch, input_boolean, button, scenes, light, lock and automation
- Detail Pages for Lights (Brightness, Temperature and Color of the Light) and for Covers (Position)
- Thermostat Page
- Media Player Card

View File

@@ -85,6 +85,8 @@ def map_to_mdi_name(ha_type, state=None, device_class=None, cardType=None):
return "script-text"
elif ha_type == "switch":
return "light-switch"
elif ha_type == "automation":
return "robot"
elif ha_type == "number":
return "ray-vertex"
elif ha_type == "light":