docs icon indicating copy to clipboard operation
docs copied to clipboard

Add description of configuring a switch for autodiscovery.

Open markfickett opened this issue 2 years ago • 2 comments
trafficstars

This method works for me quickly/easily. The default instructions only make something show up in the UI if I use the relay, which is not recommended. And there are much more complicated workarounds described, for example at https://blakadder.com/pir-in-tasmota-integration/ , and a number of threads one can find with people trying to figure out how to do this. So I think it would really help to have this method described in the main PIR docs.

markfickett avatar Apr 28 '23 04:04 markfickett

having a motion sensor in HA as a switch is wrong, it's a binary sensor

blakadder avatar May 08 '23 09:05 blakadder

I can't argue with "switch" being the wrong terminology. But it did show up as a binary sensor in HA (with entity name "binary_sensor.switch1"), different from the on/off control for the LED attached to the ESP8266 which instead shows up as a switch.

image

markfickett avatar May 08 '23 16:05 markfickett