Skip to content

Commit

Permalink
check network.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jumping2000 committed Aug 24, 2023
1 parent e9a8e5e commit 9ddce19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elettrodomestici_2023/packages/elettrodomestici/network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@
# CHANGE THE SENSOR WITH YOURS
- name: VDSL distance
state: >
{% set value = 'TAG_16' %}
{% set value = 'TAG_18' %}
{{ (states(value)|float(default=0)/(13.81*sqrt(4.15))*1000) | round(0) }}
unit_of_measurement: m
state_class: measurement
availability: >
{{ states('TAG_16') not in ['unavailable', 'unknown', 'None'] }}
{{ states('TAG_18') not in ['unavailable', 'unknown', 'None'] }}
# CHANGE THE SENSOR WITH YOURS
- name: fritz_upload_throughput
state: >
Expand Down

0 comments on commit 9ddce19

Please sign in to comment.