Add balcony light
This commit is contained in:
@@ -40,4 +40,4 @@ light_control_balcony:
|
||||
constraint: input_boolean.balcony_light_control
|
||||
after_sundown: True
|
||||
global_dependencies:
|
||||
- globals
|
||||
- globals
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user