airfresher moved to esphome
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#################################################
|
||||
# AirFresher #
|
||||
#################################################
|
||||
- platform: mqtt
|
||||
state_topic: 'home/airfresher/airfresher/remain'
|
||||
name: 'airfresher_remain'
|
||||
# value_template: '{{ (value | float ) / 1000 }}'
|
||||
unit_of_measurement: 'times'
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
airfresher_remain_percent:
|
||||
value_template: "{{ ((100 / 1400) * (states('sensor.airfresher_remain') | int )) | round(2) }}"
|
||||
@@ -10,9 +10,6 @@
|
||||
- platform: mqtt
|
||||
state_topic: 'home/nest/$uptime'
|
||||
name: 'uptime_nest'
|
||||
- platform: mqtt
|
||||
state_topic: 'home/airfresher/$uptime'
|
||||
name: 'uptime_airfresher'
|
||||
- platform: mqtt
|
||||
state_topic: 'tele/bathlight/UPTIME'
|
||||
name: 'uptime_bathlight'
|
||||
|
||||
Reference in New Issue
Block a user