Home Assistant Setup für die LUG
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
- id: enable_zigbee_join
|
|
|
|
alias: Enable Zigbee joining
|
|
|
|
hide_entity: true
|
|
|
|
trigger:
|
|
|
|
platform: state
|
|
|
|
entity_id: input_boolean.zigbee_permit_join
|
|
|
|
to: "on"
|
|
|
|
action:
|
|
|
|
- service: mqtt.publish
|
|
|
|
data:
|
|
|
|
topic: zigbee2mqtt/bridge/config/permit_join
|
|
|
|
payload: "true"
|
|
|
|
- service: timer.start
|
|
|
|
data:
|
|
|
|
entity_id: timer.zigbee_permit_join
|
|
|
|
|
|
|
|
- id: disable_zigbee_join
|
|
|
|
alias: Disable Zigbee joining
|
|
|
|
trigger:
|
|
|
|
- entity_id: input_boolean.zigbee_permit_join
|
|
|
|
platform: state
|
|
|
|
to: "off"
|
|
|
|
action:
|
|
|
|
- data:
|
|
|
|
payload: "false"
|
|
|
|
topic: zigbee2mqtt/bridge/config/permit_join
|
|
|
|
service: mqtt.publish
|
|
|
|
- data:
|
|
|
|
entity_id: timer.zigbee_permit_join
|
|
|
|
service: timer.cancel
|
|
|
|
hide_entity: true
|
|
|
|
|
|
|
|
- id: disable_zigbee_join_timer
|
|
|
|
alias: Disable Zigbee joining by timer
|
|
|
|
hide_entity: true
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: timer.finished
|
|
|
|
event_data:
|
|
|
|
entity_id: timer.zigbee_permit_join
|
|
|
|
action:
|
|
|
|
- service: mqtt.publish
|
|
|
|
data:
|
|
|
|
topic: zigbee2mqtt/bridge/config/permit_join
|
|
|
|
payload: "false"
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
data:
|
|
|
|
entity_id: input_boolean.zigbee_permit_join
|