Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95445

Sonoff power on state vs switch

$
0
0

@Himdola wrote:

Hello Guys,

I thing this is a simple question which already use sonoff but for me is that to difficult.

What i have;

  • Sonoff mini with tasomta -> connected on the Ceiling and the bulb connected to sonoff mini.
  • I have a normal wall Switch.

Question: I need, when i use the normal switch and turn on, i will always that the bulp turn on wherever it is turned OFF via Home Assistant.

It is now so when i turned off the sonoff via Home Assistant and turn on via normal wall switch the bulb will go on and after 4 seconds it is gooing off.

Current config file"

platform: mqtt
name: “xxx”
state_topic: “stat/xxx/POWER”
command_topic: “cmnd/xxx/POWER”
qos: 0
optimistic: false
payload_on: “ON”
payload_off: “OFF”
payload_available: “Online”
payload_not_available: “Offline”
retain: true

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>