Skip to content

Commit db6306a

Browse files
authored
Update README.md
1 parent d858b1c commit db6306a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RentersLightSwitch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ __Switch for light in switches.yaml__
5353
payload_off: "3"
5454
value_template: '{{ value_json.state }}'
5555
```
56+
*Note: Home assistant sends MQTT messages as strings, which unfortunatly this JSON library doesnt parse. You may need to adjust for your switches [with this handy chart](https://www.cs.cmu.edu/~pattis/15-1XX/common/handouts/ascii.html). For example, my switch works with ON at 51 degrees (ascii payload "3") and OFF at 80 degrees (ascii payload "P").*
5657

5758
__Sensor for motion sensor in binary_sensor.yaml__
5859
```
@@ -65,9 +66,8 @@ __Sensor for motion sensor in binary_sensor.yaml__
6566
device_class: motion
6667
```
6768

68-
*Note: Home assistant sends MQTT messages as strings, which unfortunatly this JSON library doesnt parse. You may need to adjust for your switches [with this handy chart](https://www.cs.cmu.edu/~pattis/15-1XX/common/handouts/ascii.html). For example, my switch works with ON at 51 degrees (ascii payload "3") and OFF at 80 degrees (ascii payload "P").*
69+
__Automation for motion detect light in automations.yaml__
6970

70-
__Automation for motion detect light__
7171
I decided to keep the motion detection and the switch as two separate entities for more control, but if you want a basic motion triggered light add this to automations.yaml.
7272
```
7373
- alias: switch_motion_trigger_on

0 commit comments

Comments
 (0)