mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 07:24:24 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui
This commit is contained in:
@@ -20,8 +20,8 @@ NsPanel needs to be flashed with Tasmota (or upcoming with ESPHome)
|
|||||||
|
|
||||||
## Features
|
## 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
|
- 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 and lock
|
- 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)
|
- Detail Pages for Lights (Brightness, Temperature and Color of the Light) and for Covers (Position)
|
||||||
- Thermostat Page
|
- Thermostat Page
|
||||||
- Media Player Card
|
- Media Player Card
|
||||||
|
|||||||
@@ -85,6 +85,8 @@ def map_to_mdi_name(ha_type, state=None, device_class=None, cardType=None):
|
|||||||
return "script-text"
|
return "script-text"
|
||||||
elif ha_type == "switch":
|
elif ha_type == "switch":
|
||||||
return "light-switch"
|
return "light-switch"
|
||||||
|
elif ha_type == "automation":
|
||||||
|
return "robot"
|
||||||
elif ha_type == "number":
|
elif ha_type == "number":
|
||||||
return "ray-vertex"
|
return "ray-vertex"
|
||||||
elif ha_type == "light":
|
elif ha_type == "light":
|
||||||
|
|||||||
Reference in New Issue
Block a user