From 6bfd38847a53deaf075665b9595da3f735b6d8be Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Thu, 19 Feb 2026 14:04:55 +0100 Subject: [PATCH] Updated shelly names --- .storage/lovelace.lovelace_devices | 12 ++--- automations/energy.yaml | 4 +- packages/shelly/shelly_customizations.yaml | 36 ++++++------- packages/shelly/shelly_groups.yaml | 2 +- packages/shelly/shelly_log.yaml | 60 +++++++++++----------- template_messages/speech.yaml | 2 +- utility_meter/energy.yaml | 4 +- 7 files changed, 60 insertions(+), 60 deletions(-) diff --git a/.storage/lovelace.lovelace_devices b/.storage/lovelace.lovelace_devices index 40409135..3a4647ba 100644 --- a/.storage/lovelace.lovelace_devices +++ b/.storage/lovelace.lovelace_devices @@ -2594,7 +2594,7 @@ { "type": "custom:button-card", "template": "template_device_generic_state", - "entity": "sensor.shelly_em_channel_1_power", + "entity": "sensor.shelly_em_channel_1_potenza", "name": "Potenza" } ] @@ -2717,33 +2717,33 @@ { "type": "custom:button-card", "template": "template_device_generic_state", - "entity": "sensor.shelly_em_channel_1_power", + "entity": "sensor.shelly_em_channel_1_potenza", "name": "Potenza" }, { "type": "custom:button-card", "template": "template_device_generic_state", - "entity": "sensor.shelly_em_channel_1_voltage", + "entity": "sensor.shelly_em_channel_1_tensione", "name": "Tensione", "icon": "mdi:alpha-v-box" }, { "type": "custom:button-card", "template": "template_device_generic_state", - "entity": "sensor.shelly_em_channel_1_power_factor", + "entity": "sensor.shelly_em_channel_1_fattore_di_potenza", "name": "FP", "icon": "mdi:angle-acute" }, { "type": "custom:button-card", "template": "template_device_firmware", - "entity": "update.shelly_em_firmware_update", + "entity": "update.shelly_em_firmware", "name": "Firmare" }, { "type": "custom:button-card", "template": "template_device_generic_button", - "entity": "button.shelly_em_reboot", + "entity": "button.shelly_em_riavvia", "name": "Riavvia Dispositivo", "icon": "mdi:restart" } diff --git a/automations/energy.yaml b/automations/energy.yaml index 69a33f5c..c7b01e59 100644 --- a/automations/energy.yaml +++ b/automations/energy.yaml @@ -7,13 +7,13 @@ trigger: - trigger: numeric_state - entity_id: sensor.shelly_em_channel_1_power + entity_id: sensor.shelly_em_channel_1_potenza above: 3300 action: action: script.notify_all data_template: title: "Home Assistant - Consumo Energetico Elevato" - message: "Consumo energetico elevato ({{ states.sensor.shelly_em_channel_1_power.state }})." + message: "Consumo energetico elevato ({{ states.sensor.shelly_em_channel_1_potenza.state }})." enable_persistent: false volume_level: 0.4 diff --git a/packages/shelly/shelly_customizations.yaml b/packages/shelly/shelly_customizations.yaml index 67798907..b6215cec 100644 --- a/packages/shelly/shelly_customizations.yaml +++ b/packages/shelly/shelly_customizations.yaml @@ -8,41 +8,41 @@ homeassistant: # Shelly EM (shellyem_b9f0d0) switch.shelly_em: friendly_name: Pulsante - sensor.shelly_em_channel_1_power: + sensor.shelly_em_channel_1_potenza: friendly_name: Potenza Istantanea - sensor.shelly_em_channel_1_energy: + sensor.shelly_em_channel_1_energia: friendly_name: Energia - sensor.shelly_em_channel_1_energy_cost: + sensor.shelly_em_channel_1_energia_cost: friendly_name: Costo Energia - sensor.shelly_em_channel_1_energy_returned: + sensor.shelly_em_channel_1_energia_restituita: friendly_name: Energia Restituita - sensor.shelly_em_channel_1_voltage: + sensor.shelly_em_channel_1_tensione: friendly_name: Tensione - sensor.shelly_em_channel_1_power_factor: + sensor.shelly_em_channel_1_fattore_di_potenza: friendly_name: Fattore di Potenza Canale 1 - sensor.shelly_em_channel_2_power: + sensor.shelly_em_channel_2_potenza: friendly_name: Potenza Istantanea Canale 2 - sensor.shelly_em_channel_2_energy: + sensor.shelly_em_channel_2_energia: friendly_name: Energia Canale 2 - sensor.shelly_em_channel_2_energy_returned: + sensor.shelly_em_channel_2_energia_restituita: friendly_name: Energia Restituita Canale 2 - sensor.shelly_em_channel_2_voltage: + sensor.shelly_em_channel_2_tensione: friendly_name: Tensione Canale 2 - sensor.shelly_em_channel_2_power_factor: + sensor.shelly_em_channel_2_fattore_di_potenza: friendly_name: Fattore di Potenza Canale 2 - binary_sensor.shelly_em_overpowering: + binary_sensor.shelly_em_sovra_potenza: friendly_name: Sovraccarico Energetico binary_sensor.shelly_em_cloud: friendly_name: Connessione Cloud - update.shelly_em_firmware_update: + update.shelly_em_firmware: friendly_name: Aggiornamento Firmware - update.shelly_em_beta_firmware_update: + shelly_em_firmware_beta: friendly_name: Aggiornamento Firmware Beta - sensor.shelly_em_rssi: + sensor.shelly_em_intensita_del_segnale: friendly_name: Potenza Segnale - sensor.shelly_em_uptime: - friendly_name: Uptime - button.shelly_em_reboot: + sensor.shelly_em_ultimo_riavvio: + friendly_name: Ultimo Riavvio + button.shelly_em_riavvia: friendly_name: Riavvia Dispositivo # Shelly Bulb (shellybulb_bc8610) diff --git a/packages/shelly/shelly_groups.yaml b/packages/shelly/shelly_groups.yaml index afcdb008..36b0af80 100644 --- a/packages/shelly/shelly_groups.yaml +++ b/packages/shelly/shelly_groups.yaml @@ -7,5 +7,5 @@ group: name: Shelly Devices icon: mdi:alpha-s-box entities: - - update.shelly_em_firmware_update + - update.shelly_em_firmware #- update.luce_piantana_firmware_update diff --git a/packages/shelly/shelly_log.yaml b/packages/shelly/shelly_log.yaml index d33f6733..8cbfef26 100644 --- a/packages/shelly/shelly_log.yaml +++ b/packages/shelly/shelly_log.yaml @@ -7,22 +7,22 @@ logbook: entities: # Shelly EM (shellyem_b9f0d0) - switch.shelly_em - #- sensor.shelly_em_channel_1_power - - sensor.shelly_em_channel_1_energy - - sensor.shelly_em_channel_1_energy_cost - - sensor.shelly_em_channel_1_energy_returned - - sensor.shelly_em_channel_1_voltage - - sensor.shelly_em_channel_1_power_factor - - sensor.shelly_em_channel_2_power - - sensor.shelly_em_channel_2_energy - - sensor.shelly_em_channel_2_energy_returned - - sensor.shelly_em_channel_2_voltage - - sensor.shelly_em_channel_2_power_factor - - binary_sensor.shelly_em_overpowering + #- sensor.shelly_em_channel_1_potenza + - sensor.shelly_em_channel_1_energia + - sensor.shelly_em_channel_1_energia_cost + - sensor.shelly_em_channel_1_energia_restituita + - sensor.shelly_em_channel_1_tensione + - sensor.shelly_em_channel_1_fattore_di_potenza + - sensor.shelly_em_channel_2_potenza + - sensor.shelly_em_channel_2_energia + - sensor.shelly_em_channel_2_energia_restituita + - sensor.shelly_em_channel_2_tensione + - sensor.shelly_em_channel_2_fattore_di_potenza + - binary_sensor.shelly_em_sovra_potenza - binary_sensor.shelly_em_cloud - - update.shelly_em_firmware_update - - sensor.shelly_em_rssi - - sensor.shelly_em_uptime + - update.shelly_em_firmware + - sensor.shelly_em_intensita_del_segnale + - sensor.shelly_em_ultimo_riavvio # Shelly Bulb (shellybulb_bc8610) - binary_sensor.luce_piantana_cloud - update.luce_piantana_firmware_update @@ -38,22 +38,22 @@ recorder: entities: # Shelly EM (shellyem_b9f0d0) - switch.shelly_em - #- sensor.shelly_em_channel_1_power - #- sensor.shelly_em_channel_1_energy - #- sensor.shelly_em_channel_1_energy_cost - - sensor.shelly_em_channel_1_energy_returned - - sensor.shelly_em_channel_1_voltage - - sensor.shelly_em_channel_2_power_factor - - sensor.shelly_em_channel_2_power - - sensor.shelly_em_channel_2_energy - - sensor.shelly_em_channel_2_energy_returned - - sensor.shelly_em_channel_2_voltage - - sensor.shelly_em_channel_1_power_factor - - binary_sensor.shelly_em_overpowering + #- sensor.shelly_em_channel_1_potenza + #- sensor.shelly_em_channel_1_energia + #- sensor.shelly_em_channel_1_energia_cost + - sensor.shelly_em_channel_1_energia_restituita + - sensor.shelly_em_channel_1_tensione + - sensor.shelly_em_channel_2_fattore_di_potenza + - sensor.shelly_em_channel_2_potenza + - sensor.shelly_em_channel_2_energia + - sensor.shelly_em_channel_2_energia_restituita + - sensor.shelly_em_channel_2_tensione + - sensor.shelly_em_channel_1_fattore_di_potenza + - binary_sensor.shelly_em_sovra_potenza - binary_sensor.shelly_em_cloud - - update.shelly_em_firmware_update - - sensor.shelly_em_rssi - - sensor.shelly_em_uptime + - update.shelly_em_firmware + - sensor.shelly_em_intensita_del_segnale + - sensor.shelly_em_ultimo_riavvio # Shelly Bulb (shellybulb_bc8610) - binary_sensor.luce_piantana_cloud - update.luce_piantana_firmware_update diff --git a/template_messages/speech.yaml b/template_messages/speech.yaml index 6b4c67b5..5a254c9e 100644 --- a/template_messages/speech.yaml +++ b/template_messages/speech.yaml @@ -114,7 +114,7 @@ {# Consumption Status #} {%- macro status_consumption() -%} - "Il consumo istantaneo è pari a {{ states.sensor.shelly_em_channel_1_power.state }} watt" + "Il consumo istantaneo è pari a {{ states.sensor.shelly_em_channel_1_potenza.state }} watt" {%- endmacro -%} {# Location Status #} diff --git a/utility_meter/energy.yaml b/utility_meter/energy.yaml index 5967fe72..e4050b9e 100644 --- a/utility_meter/energy.yaml +++ b/utility_meter/energy.yaml @@ -3,9 +3,9 @@ ###################################################################### consumo_energetico_giornaliero: - source: sensor.shelly_em_channel_1_energy + source: sensor.shelly_em_channel_1_energia cycle: daily consumo_energetico_mensile: - source: sensor.shelly_em_channel_1_energy + source: sensor.shelly_em_channel_1_energia cycle: monthly -- 2.47.3