Added soon-to-be-option to preserve current behavior regarding WAN traffic sensors.

This commit is contained in:
Marcus Scholz 2022-02-22 23:19:28 +01:00
parent bcf8b11758
commit c5e0f65d38

View File

@ -52,10 +52,12 @@
- platform: statistics - platform: statistics
name: 'WAN Traffic In' name: 'WAN Traffic In'
state_characteristic: mean
entity_id: sensor.internet_speed_in entity_id: sensor.internet_speed_in
- platform: statistics - platform: statistics
name: 'WAN Traffic Out' name: 'WAN Traffic Out'
state_characteristic: mean
entity_id: sensor.internet_speed_out entity_id: sensor.internet_speed_out
- platform: template - platform: template
@ -63,7 +65,7 @@
sun_rising_template: sun_rising_template:
friendly_name: "Sun Rising Template" friendly_name: "Sun Rising Template"
value_template: "{{ as_timestamp(states.sun.sun.attributes.next_rising) | timestamp_custom ('%H:%M') }}" value_template: "{{ as_timestamp(states.sun.sun.attributes.next_rising) | timestamp_custom ('%H:%M') }}"
- platform: template - platform: template
sensors: sensors:
sun_setting_template: sun_setting_template: