From: Giorgio Ravera Date: Tue, 31 Dec 2019 14:08:00 +0000 (+0100) Subject: Changed device_class to Shelly EM X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=3b9f8e4030953512eb07e7ea99056ddc1e597e8e;p=homeassistant.git Changed device_class to Shelly EM --- diff --git a/cover/all_old.yaml.disabled b/cover/all_old.yaml.disabled deleted file mode 100644 index 6a7bc094..00000000 --- a/cover/all_old.yaml.disabled +++ /dev/null @@ -1,34 +0,0 @@ -###################################################################### -# Global Cover -###################################################################### - -- platform: template - covers: - all_covers: - friendly_name: "Tapparelle Globale" - open_cover: - service: script.all_covers_operation - data: - modus: 'open' - close_cover: - service: script.all_covers_operation - data: - modus: 'close' - stop_cover: - service: script.all_covers_operation - data: - modus: 'stop' - set_cover_position: - service: script.all_covers_position - data_template: - position: "{{ position }}" -# value_template: -# icon_template: >- -# {% if is_state('sensor.all_covers', 'open') %} -# mdi:window-open -# {% else %} -# mdi:window-closed -# {% endif %} -# entity_id: -# - cover.bedroom -# - cover.livingroom diff --git a/device_tracker/netgear.yaml.disabled b/device_tracker/netgear.yaml.disabled deleted file mode 100644 index 1fecb372..00000000 --- a/device_tracker/netgear.yaml.disabled +++ /dev/null @@ -1,21 +0,0 @@ -###################################################################### -# Device Tracker: Netgear -###################################################################### - -- platform: netgear - host: !secret ap1_host - port: !secret ap1_port - username: !secret ap1_username - password: !secret ap1_password - devices: - - s9.giorgioravera.it - - a5.giorgioravera.it -# - a3.giorgioravera.it - - # Seconds between each scan for new devices - interval_seconds: 30 - # Seconds to wait till marking someone as not home after not being seen - consider_home: 180 - new_device_defaults: - track_new_devices: false - hide_if_away: false diff --git a/sensor/energy.yaml b/sensor/energy.yaml index 970195fe..96921847 100644 --- a/sensor/energy.yaml +++ b/sensor/energy.yaml @@ -5,29 +5,34 @@ - platform: mqtt name: "Potenza Istantanea" state_topic: "shellies/shellyem-B9E1A0/emeter/0/power" - unit_of_measurement: 'Watts' + unit_of_measurement: 'W' qos: 0 + device_class: power - platform: mqtt name: "Potenza Reattiva" state_topic: "shellies/shellyem-B9E1A0/emeter/0/reactive_power" - unit_of_measurement: 'Watts' + unit_of_measurement: 'W' qos: 0 + device_class: power - platform: mqtt name: "Tensione" state_topic: "shellies/shellyem-B9E1A0/emeter/0/voltage" - unit_of_measurement: 'Volts' + unit_of_measurement: 'V' qos: 0 + device_class: power #- platform: mqtt # name: "Energia Assorbita" # state_topic: "shellies/shellyem-B9E1A0/emeter/0/energy" # unit_of_measurement: 'Watt/min' # qos: 0 +# device_class: power #- platform: mqtt # name: "Energia Restituita" # state_topic: "shellies/shellyem-B9E1A0/emeter/0/returned_energy" # unit_of_measurement: 'Watt/min' # qos: 0 +# device_class: power