diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml index 78bd5b3..d5ef165 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml @@ -546,6 +546,13 @@ custom_fields: tap_action: action: call-service service: script.reset_totali_asciugatrice + - type: button + icon: mdi:restore-alert + name: Reset Stato Iniziale + action_name: Reset + tap_action: + action: call-service + service: script.reset_stato_asciugatrice - type: vertical-stack view_layout: grid-area: colonna2 @@ -569,6 +576,7 @@ custom_fields: entities: - entity: sensor.asciugatrice_ultimo_runtime name: Durata + format: duration-h - entity: sensor.asciugatrice_run_energy name: Energia unit: kWh @@ -583,7 +591,7 @@ custom_fields: name: Cicli - entity: sensor.asciugatrice_total_runtime name: Durata - unit: h + format: duration-h - entity: sensor.plug_asciugatrice_total_energy name: Energia - type: divider diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml index e5e429b..7d41e73 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml @@ -521,6 +521,13 @@ custom_fields: tap_action: action: call-service service: script.reset_totali_forno + - type: button + icon: mdi:restore-alert + name: Reset Stato Iniziale + action_name: Reset + tap_action: + action: call-service + service: script.reset_stato_forno - type: vertical-stack view_layout: grid-area: colonna2 @@ -544,6 +551,7 @@ custom_fields: entities: - entity: sensor.forno_ultimo_runtime name: Durata + format: duration-h - entity: sensor.forno_run_energy name: Energia unit: kWh @@ -558,7 +566,7 @@ custom_fields: name: Cicli - entity: sensor.forno_total_runtime name: Durata - unit: h + format: duration-h - entity: sensor.plug_forno_total_energy name: Energia - type: divider diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml index 74e5499..b15dac3 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml @@ -520,6 +520,13 @@ custom_fields: tap_action: action: call-service service: script.reset_totali_lavastoviglie + - type: button + icon: mdi:restore-alert + name: Reset Stato Iniziale + action_name: Reset + tap_action: + action: call-service + service: script.reset_stato_lavastoviglie - type: vertical-stack view_layout: grid-area: colonna2 @@ -543,6 +550,7 @@ custom_fields: entities: - entity: sensor.lavastoviglie_ultimo_runtime name: Durata + format: duration-h - entity: sensor.lavastoviglie_run_energy name: Energia unit: kWh @@ -557,7 +565,7 @@ custom_fields: name: Cicli - entity: sensor.lavastoviglie_total_runtime name: Durata - unit: h + format: duration-h - entity: sensor.plug_lavastoviglie_total_energy name: Energia - type: divider diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml index 32ccef4..fd5745a 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml @@ -552,6 +552,13 @@ custom_fields: tap_action: action: call-service service: script.reset_totali_lavatrice + - type: button + icon: mdi:restore-alert + name: Reset Stato Iniziale + action_name: Reset + tap_action: + action: call-service + service: script.reset_stato_lavatrice - type: vertical-stack view_layout: grid-area: colonna2 @@ -575,6 +582,7 @@ custom_fields: entities: - entity: sensor.lavatrice_ultimo_runtime name: Durata + format: duration-h - entity: sensor.lavatrice_run_energy name: Energia unit: kWh @@ -589,7 +597,7 @@ custom_fields: name: Cicli - entity: sensor.lavatrice_total_runtime name: Durata - unit: h + format: duration-h - entity: sensor.plug_lavatrice_total_energy name: Energia - type: divider diff --git a/elettrodomestici_2023/packages/elettrodomestici/dishwasher.ya__ b/elettrodomestici_2023/packages/elettrodomestici/dishwasher.ya__ index a19282e..0104fed 100644 --- a/elettrodomestici_2023/packages/elettrodomestici/dishwasher.ya__ +++ b/elettrodomestici_2023/packages/elettrodomestici/dishwasher.ya__ @@ -393,6 +393,14 @@ target: entity_id: input_number.lavastoviglie_runtime + reset_stato_lavastoviglie: + sequence: + - alias: "Reset stato" + service: input_select.select_first + data: {} + target: + entity_id: input_select.dishwasher_status + ################################################################# # # # AUTOMATION # diff --git a/elettrodomestici_2023/packages/elettrodomestici/dryer.ya__ b/elettrodomestici_2023/packages/elettrodomestici/dryer.ya__ index 50fe5be..0396201 100644 --- a/elettrodomestici_2023/packages/elettrodomestici/dryer.ya__ +++ b/elettrodomestici_2023/packages/elettrodomestici/dryer.ya__ @@ -394,6 +394,14 @@ value: 0 target: entity_id: input_number.asciugatrice_runtime + + reset_stato_asciugatrice: + sequence: + - alias: "Reset stato" + service: input_select.select_first + data: {} + target: + entity_id: input_select.dryer_status ################################################################# # # diff --git a/elettrodomestici_2023/packages/elettrodomestici/oven.ya__ b/elettrodomestici_2023/packages/elettrodomestici/oven.ya__ index c663d40..b85722b 100644 --- a/elettrodomestici_2023/packages/elettrodomestici/oven.ya__ +++ b/elettrodomestici_2023/packages/elettrodomestici/oven.ya__ @@ -408,6 +408,14 @@ target: entity_id: input_number.forno_runtime + reset_stato_forno: + sequence: + - alias: "Reset stato" + service: input_select.select_first + data: {} + target: + entity_id: input_select.oven_status + ################################################################# # # # AUTOMATION # diff --git a/elettrodomestici_2023/packages/elettrodomestici/washing_machine.ya__ b/elettrodomestici_2023/packages/elettrodomestici/washing_machine.ya__ index 1590573..e59ccfa 100644 --- a/elettrodomestici_2023/packages/elettrodomestici/washing_machine.ya__ +++ b/elettrodomestici_2023/packages/elettrodomestici/washing_machine.ya__ @@ -401,6 +401,14 @@ target: entity_id: input_number.lavatrice_runtime + reset_stato_lavatrice: + sequence: + - alias: "Reset stato" + service: input_select.select_first + data: {} + target: + entity_id: input_select.washing_machine_status + ################################################################# # # # AUTOMATION #