Created
October 9, 2018 01:19
-
-
Save xbmcnut/bd6b199d5f6ab61ccd4dba135d40ff7a to your computer and use it in GitHub Desktop.
Package to add two Shelly2's to Home Assistant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################### | |
## Customize | |
################################### | |
homeassistant: | |
customize: | |
switch.family_room_fan: | |
hidden: False | |
icon: mdi:fan | |
light: | |
- platform: mqtt | |
name: "Stair Lights" | |
state_topic: "shellies/shellyswitch-9F5ED3/relay/0" | |
command_topic: "shellies/shellyswitch-9F5ED3/relay/0/command" | |
qos: 2 | |
payload_on: "on" | |
payload_off: "off" | |
- platform: mqtt | |
name: "Kitchen Lights" | |
state_topic: "shellies/shellyswitch-9F6008/relay/1" | |
command_topic: "shellies/shellyswitch-9F6008/relay/1/command" | |
qos: 2 | |
payload_on: "on" | |
payload_off: "off" | |
switch: | |
- platform: mqtt | |
name: "Family Room Fan" | |
state_topic: "shellies/shellyswitch-9F6008/relay/0" | |
command_topic: "shellies/shellyswitch-9F6008/relay/0/command" | |
qos: 2 | |
payload_on: "on" | |
payload_off: "off" | |
sensor: | |
- platform: mqtt | |
name: "Family Room Shelly Power" | |
state_topic: "shellies/shellyswitch-9F6008/relay/power" | |
- platform: mqtt | |
name: "Stairs Shelly Power" | |
state_topic: "shellies/shellyswitch-9F5ED/relay/power" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment