I came up with another NFC automation idea. When I go to bed all the motion sensor activated lights are on. To turn them off, I stuck an NFC tag on the radiator knob and added that code to the Home Assistant automation file. Now when I touch the knob with my phone all the lights in the house are turned off.
- alias: lights_off_tag initial_state: true trigger: platform: tag tag_id: b542b144-2e75-4f7c-bede-a6dd8d149a25 action: service: light.turn_off entity_id: all
Comments are closed, but trackbacks and pingbacks are open.