Add balcony light

This commit is contained in:
monster
2019-02-09 10:54:42 +03:00
parent 1b1ddf758a
commit 3116c2378e
6 changed files with 28 additions and 22 deletions
@@ -24,3 +24,8 @@ light.bath:
light.balcony:
friendly_name: Свет
light.yeelight_white_286c07f12bed:
friendly_name: Балкон1
light.yeelight_white_f0b429a8d936:
friendly_name: Балкон2
@@ -2,4 +2,5 @@ balcony_light:
name: Свет (балкон)
control: hidden
entities:
- light.balcony
- light.yeelight_white_286c07f12bed
- light.yeelight_white_f0b429a8d936
@@ -2,6 +2,7 @@
name: Балкон
control: hidden
entities:
- light.balcony
- light.yeelight_white_286c07f12bed
- light.yeelight_white_f0b429a8d936
- sensor.temperature_158d000117d37a
- sensor.humidity_158d000117d37a
@@ -1,7 +1,7 @@
- platform: mqtt
name: "balcony"
state_topic: "stat/BALCONYV2/POWER"
command_topic: "cmnd/BALCONYV2/POWER"
payload_on: "ON"
payload_off: "OFF"
optimistic: false
# - platform: mqtt
# name: "balcony"
# state_topic: "stat/BALCONYV2/POWER"
# command_topic: "cmnd/BALCONYV2/POWER"
# payload_on: "ON"
# payload_off: "OFF"
# optimistic: false
+11 -12
View File
@@ -1,21 +1,20 @@
# Home Assistant integration (MQTT discovery)
homeassistant: xxxxxxxxx
# allow new devices to join
permit_join: xxxxxxxxx
# MQTT settings
mqtt: xxxxxxxxx
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: xxxxxxxxx
# MQTT server URL
server: xxxxxxxxx
# MQTT server authentication, uncomment if required: xxxxxxxxx
user: xxxxxxxxx
password: xxxxxxxxx
# Serial settings
serial: xxxxxxxxx
# Location of CC2531 USB sniffer
port: xxxxxxxxx
disable_led: xxxxxxxxx
advanced: xxxxxxxxx
cache_state: xxxxxxxxx
# log_level: xxxxxxxxx
devices: xxxxxxxxx
'0x00158d0001e065e8': xxxxxxxxx
friendly_name: xxxxxxxxx
retain: xxxxxxxxx
'0x00158d0002a55439': xxxxxxxxx
friendly_name: xxxxxxxxx
retain: xxxxxxxxx