updating configuration
This commit is contained in:
@@ -10,4 +10,4 @@
|
||||
- platform: template
|
||||
sensors:
|
||||
airfresher_remain_percent:
|
||||
value_template: "{{ ((100 / 1400) * (states('sensor.airfresher_remain') | int )) | round(2) }}"
|
||||
value_template: "{{ ((100 / 1400) * (states('sensor.airfresher_remain') | int )) | round(2) }}"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
- platform: mqtt
|
||||
state_topic: 'home/bath/bath/distance'
|
||||
name: 'toilet_distance'
|
||||
unit_of_measurement: 'cm'
|
||||
Reference in New Issue
Block a user