From c40ac679d0fce280505c3b0cc37074704e9bc967 Mon Sep 17 00:00:00 2001 From: DewGew Date: Mon, 12 Feb 2024 09:05:12 +0100 Subject: [PATCH] Update dashboard.html --- templates/dashboard.html | 51 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/templates/dashboard.html b/templates/dashboard.html index b70835b..2a678cb 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -70,6 +70,14 @@
Switches
outlet {% elif v['type'] == 'action.devices.types.SWITCH' %} switch + {% elif v['type'] == 'action.devices.types.AC_UNIT' %} + ac_unit + {% elif v['type'] == 'action.devices.types.AIRPURIFIER' %} + air_purifier_gen + {% elif v['type'] == 'action.devices.types.DRYER' %} + local_laundry_service + {% elif v['type'] == 'action.devices.types.VACUUM' %} + vacuum {% elif v['type'] == 'action.devices.types.WATERHEATER' %} water_heater {% elif v['type'] == 'action.devices.types.HEATER' %} @@ -84,12 +92,26 @@
Switches
mop {% elif v['type'] == 'action.devices.types.DISHWASHER' %} dishwasher_gen + {% elif v['type'] == 'action.devices.types.KETTLE' %} + kettle + {% elif v['type'] == 'action.devices.types.GRILL' %} + outdoor_grill + {% elif v['type'] == 'action.devices.types.SPRINKLER' %} + sprinkler + {% elif v['type'] == 'action.devices.types.OVEN' %} + oven {% elif v['type'] == 'action.devices.types.WASHER' %} local_laundry_service {% elif v['type'] == 'action.devices.types.TV' %} tv {% elif v['type'] == 'action.devices.types.COFFEEMAKER' %} coffee_maker + {% elif v['type'] == 'action.devices.types.MICROWAVE' %} + microwave + {% elif v['type'] == 'action.devices.types.MOP' %} + mop + {% elif v['type'] == 'action.devices.types.MOWER' %} + grass {% elif v['type'] == 'action.devices.types.TV' %} tv {% else %} @@ -139,10 +161,39 @@
Device log | {{ v['name']['name'] }}
+ {% elif v['customData']['domain'] == 'Camera' %} +
+ nest_cam_outdoor +
{{ v['name']['name'] }}
+ Not available + +
+ {% elif v['customData']['domain'] == 'Doorbell' %}
doorbell_3p
{{ v['name']['name'] }}
+ Not available