I have added to switches to my configuration.yaml which when HA restart it tells me they are off, but they are not. If I turn them on -off -on. On automation any way to disable them from the home screen
I also noticed
Log Details (WARNING)
Sun Jul 22 2018 18:37:44 GMT-0400 (Eastern Daylight Time)
Setup of config is taking over 10 seconds.
add mqtt
mqtt:
broker: core-mosquitto
add mqtt switches
switch:
-
platform: mqtt
name: “Turtle Tank Lights”
command_topic: “cmnd/sonoff61/power”
state_topic: “stat/sonoff61/POWER”
qos: 1
payload_on: “ON”
payload_off: “OFF”
retain: true -
platform: mqtt
name: “Turtle Tank Outlet”
command_topic: “cmnd/sonoff52/power”
state_topic: “stat/sonoff52/POWER”
qos: 1
payload_on: “ON”
payload_off: “OFF”
retain: true
automations.yaml
-
alias: “Turtle Tank Lights On”
trigger:
platform: time
at: ‘07:15:00’
action:- service: homeassistant.turn_on
entity_id: switch.turtle_tank_lights
- service: homeassistant.turn_on
-
alias: “Turtle Tank Lights Off”
trigger:
platform: time
at: ‘23:10:00’
action:- service: homeassistant.turn_off
entity_id: switch.turtle_tank_lights
- service: homeassistant.turn_off
thanks for any assistant
Yes I’m an old dog trying to learn new tricks, and face planting too many times today.