airfresher moved to esphome
This commit is contained in:
@@ -19,7 +19,7 @@ watchdog_wemos_uptime:
|
||||
module: watchdog
|
||||
constraint: input_boolean.watchdog_report
|
||||
entities:
|
||||
- sensor.uptime_airfresher
|
||||
# - sensor.uptime_airfresher
|
||||
- sensor.uptime_bath
|
||||
- sensor.uptime_domofon
|
||||
- sensor.uptime_kitchen_led
|
||||
|
||||
@@ -66,4 +66,5 @@ class AirFresher(hass.Hass):
|
||||
return
|
||||
|
||||
self.log('freshing in {}'.format(self.fresh_times))
|
||||
self.call_service("mqtt/publish", topic = "home/airfresher/airfresher/fresh/set", payload = "1")
|
||||
self.turn_on(self.args['entity_id'])
|
||||
# self.call_service("mqtt/publish", topic = "home/airfresher/airfresher/fresh/set", payload = "1")
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
airfresher:
|
||||
module: airfresher
|
||||
class: AirFresher
|
||||
# on_time: "09:00:00"
|
||||
# off_time: "22:00:00"
|
||||
# entity: switch.ledstrip
|
||||
entity_id: switch.airfresher_fresh
|
||||
global_dependencies:
|
||||
- globals
|
||||
|
||||
Reference in New Issue
Block a user