Skip to content

Instantly share code, notes, and snippets.

@thomasjsn
Last active September 5, 2017 11:06
Show Gist options
  • Save thomasjsn/3eb1f37a5cc770b6b65024fdf82b7b53 to your computer and use it in GitHub Desktop.
Save thomasjsn/3eb1f37a5cc770b6b65024fdf82b7b53 to your computer and use it in GitHub Desktop.
Home Assistant configuration for fireman alarm toy
switch:
- platform: mqtt
name: "Firealarm strobe"
state_topic: "node/gzl/strobe"
command_topic: "node/gzl/strobe/set"
payload_off: 0
payload_on: 1
- platform: mqtt
name: "Firealarm buzzer"
state_topic: "node/gzl/buzzer"
command_topic: "node/gzl/buzzer/set"
payload_off: 0
payload_on: 1
- platform: mqtt
name: "Firealarm green"
state_topic: "node/gzl/green"
command_topic: "node/gzl/green/set"
payload_off: 0
payload_on: 1
- platform: mqtt
name: "Firealarm yellow"
state_topic: "node/gzl/yellow"
command_topic: "node/gzl/yellow/set"
payload_off: 0
payload_on: 1
- platform: mqtt
name: "Firealarm red"
state_topic: "node/gzl/red"
command_topic: "node/gzl/red/set"
payload_off: 0
payload_on: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment