zigbee2mqtt/docs/integration/home_assistant.md

2890 lines
64 KiB
Markdown
Raw Normal View History

2018-12-01 11:15:57 -07:00
# Home Assistant
*NOTE 1: This file has been generated, do not edit this file manually!*
2018-12-13 13:40:47 -07:00
*NOTE 2: If you are using the [Zigbee2mqtt Hass.io add-on](https://github.com/danielwelch/hassio-zigbee2mqtt)
use their documentation*
2018-12-01 11:15:57 -07:00
## MQTT discovery
**At least Home Assistant >= 0.84 is required!**
2018-12-27 11:37:39 -07:00
**NOTE:** Groups are not auto-discovered, see configuration below.
2018-12-13 13:40:47 -07:00
The easiest way to integrate Zigbee2mqtt with Home Assistant is by
using [MQTT discovery](https://www.home-assistant.io/docs/mqtt/discovery/).
This allows Zigbee2mqtt to automatically add devices to Home Assistant.
2018-12-01 11:15:57 -07:00
To achieve the best possible integration (including MQTT discovery):
- In your **Zigbee2mqtt** `configuration.yaml` set `homeassistant: true`
- In your **Home Assistant** `configuration.yaml`:
```yaml
mqtt:
discovery: true
broker: [YOUR MQTT BROKER] # Remove if you want to use builtin-in MQTT broker
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
```
2018-12-13 13:40:47 -07:00
Zigbee2mqtt is expecting Home Assistant to send it's birth/will
messages to `hass/status`. Be sure to add this to your `configuration.yaml` if you want
Zigbee2mqtt to resend the cached values when Home Assistant restarts
2018-12-01 11:15:57 -07:00
## Home Assistant device registry
2018-12-13 13:40:47 -07:00
When using Home Assistant MQTT discovery, Zigbee2mqtt integrates
with the [Home Assistant device registry](https://developers.home-assistant.io/docs/en/device_registry_index.html).
This allows you to change the Home Assistant `device_id` and `friendly_name` from the web interface
without having to restart Home Assistant. It also makes it possible to show which entities belong to which device.
2018-12-01 11:15:57 -07:00
![Changing name and device ID via web interface](../images/home_assistant_change_name.png)
![Device registry](../images/home_assistant_device_registry.png)
## I'm confused about the different device IDs, names and friendly names
2018-12-13 13:40:47 -07:00
- Home Assistant `device_id`: determined on first discovery of the device, can only be changed
via the Home Assistant web interface afterwards. Used to control/read the state from the device (e.g. in automations)
2018-12-01 11:15:57 -07:00
- Zigbee2mqtt `friendly_name`: used to change the MQTT topic where the device listens and publishes to.
2018-12-13 13:40:47 -07:00
- Home Assistant `name`: name shown in the Home Assistant UI (unless overridden
via a `friendly_name` in `customize.yaml`). If not changed via the Home Assistant web interface,
it is equal to the Zigbee2mqtt `friendly_name`. Is updated if the Zigbee2mqtt `friendly_name` changes
(requires restart of Home Assistant)
2018-12-01 11:15:57 -07:00
- Home Assistant `friendly_name` (`customize.yaml`): overrides the name in the Home Assistant web interface.
## Responding to button clicks
To respond to button clicks (e.g. WXKG01LM) you can use the following Home Assistant configuration:
{% raw %}
```yaml
automation:
- alias: Respond to button clicks
trigger:
platform: mqtt
topic: 'zigbee2mqtt/<FRIENDLY_NAME'
condition:
condition: template
value_template: '{{ "single" == trigger.payload_json.click }}'
action:
entity_id: light.bedroom
service: light.toggle
```
{% endraw %}
2018-12-27 11:37:39 -07:00
## Groups
Groups are not auto-discovered. Use the following configuration:
{% raw %}
```yaml
- platform: mqtt
schema: json
name: MY_GROUP
command_topic: "zigbee2mqtt/[GROUP_FRIENDLY_NAME]/set"
state_topic: "zigbee2mqtt/[GROUP_FRIENDLY_NAME]/set"
// Modify according to features supported by all devices in group
color_temp: true
brightness: true
rgb: true
```
{% endraw %}
2018-12-01 11:15:57 -07:00
## Controlling Zigbee2mqtt via Home Assistant
The following Home Assistant configuration allows you to control Zigbee2mqtt from Home Assistant.
{% raw %}
```yaml
# Group
group:
zigbee_group:
2018-12-15 06:07:33 -07:00
view: false
2018-12-01 11:15:57 -07:00
control: hidden
name: Zigbee2mqtt
entities:
- input_boolean.zigbee_permit_join
- timer.zigbee_permit_join
- sensor.zigbee2mqtt_bridge_state
- switch.zigbee2mqtt_main_join
- automation.enable_zigbee_joining
- automation.disable_zigbee_joining
- automation.disable_zigbee_joining_by_timer
- input_select.zigbee2mqtt_log_level
- automation.zigbee2mqtt_log_level
# Input select for Zigbee2mqtt debug level
input_select:
zigbee2mqtt_log_level:
name: Zigbee2mqtt Log Level
options:
- debug
- info
- warn
- error
initial: info
icon: mdi:format-list-bulleted
# Input boolean for enabling/disabling joining
input_boolean:
zigbee_permit_join:
name: Allow devices to join
initial: off
icon: mdi:cellphone-wireless
# Timer for joining time remaining (120 sec = 2 min)
timer:
zigbee_permit_join:
name: Time remaining
duration: 120
# Sensor for monitoring the bridge state
sensor:
- platform: mqtt
name: Zigbee2mqtt Bridge state
state_topic: "zigbee2mqtt/bridge/state"
icon: mdi:router-wireless
# Switch for enabling joining
switch:
- platform: mqtt
name: "Zigbee2mqtt Main join"
state_topic: "zigbee2mqtt/bridge/config/permit_join"
command_topic: "zigbee2mqtt/bridge/config/permit_join"
payload_on: "true"
payload_off: "false"
# Automations
automation:
- alias: Zigbee2mqtt Log Level
initial_state: 'on'
trigger:
- platform: state
entity_id: input_select.zigbee2mqtt_log_level
to: debug
- platform: state
entity_id: input_select.zigbee2mqtt_log_level
to: warn
- platform: state
entity_id: input_select.zigbee2mqtt_log_level
to: error
- platform: state
entity_id: input_select.zigbee2mqtt_log_level
to: info
action:
- service: mqtt.publish
data:
payload_template: '{{ states(''input_select.zigbee2mqtt_log_level'') }}'
topic: zigbee2mqtt/bridge/config/log_level
- 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
2018-12-15 06:07:33 -07:00
hide_entity: true
2018-12-01 11:15:57 -07:00
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
- 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
```
{% endraw %}
## Configuration when NOT using Home Assistant MQTT discovery
### ZNLDP12LM
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
2018-12-13 13:40:47 -07:00
### WXKG01LM
2018-12-01 11:15:57 -07:00
{% raw %}
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:toggle-switch"
value_template: "{{ value_json.click }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "action"
- "duration"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
{% endraw %}
### WXKG11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:toggle-switch"
value_template: "{{ value_json.click }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "action"
- "duration"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### WXKG12LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:toggle-switch"
value_template: "{{ value_json.click }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "action"
- "duration"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### WXKG03LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:toggle-switch"
value_template: "{{ value_json.click }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "action"
- "duration"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### WXKG02LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:toggle-switch"
value_template: "{{ value_json.click }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "action"
- "duration"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### QBKG04LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### QBKG11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### QBKG03LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_left }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/left/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_left"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_right }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/right/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_right"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### QBKG12LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_left }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/left/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_left"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_right }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/right/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_right"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### WSDCGQ01LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "°C"
device_class: "temperature"
value_template: "{{ value_json.temperature }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-01 11:15:57 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "%"
device_class: "humidity"
value_template: "{{ value_json.humidity }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### WSDCGQ11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "°C"
device_class: "temperature"
value_template: "{{ value_json.temperature }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-01 11:15:57 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "%"
device_class: "humidity"
value_template: "{{ value_json.humidity }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-01 11:15:57 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "hPa"
device_class: "pressure"
value_template: "{{ value_json.pressure }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RTCGQ01LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
2018-12-13 13:40:47 -07:00
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RTCGQ11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "lx"
device_class: "illuminance"
value_template: "{{ value_json.illuminance }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-13 13:40:47 -07:00
- "linkquality"
- "voltage"
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### MCCGQ01LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: false
payload_off: true
value_template: "{{ value_json.contact }}"
device_class: "door"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
2018-12-13 13:40:47 -07:00
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### MCCGQ11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: false
payload_off: true
value_template: "{{ value_json.contact }}"
device_class: "door"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
2018-12-13 13:40:47 -07:00
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### SJCGQ11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.water_leak }}"
device_class: "moisture"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
2018-12-13 13:40:47 -07:00
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### MFKZQ01LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:gesture-double-tap"
value_template: "{{ value_json.action }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "angle"
- "side"
- "from_side"
- "to_side"
- "brightness"
- "angle_x_absolute"
- "angle_y_absolute"
- "angle_z"
- "angle_y"
- "angle_x"
- "unknown_data"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### ZNCZ02LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### QBCZ11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### JTYJ-GD-01LM/BW
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.smoke }}"
device_class: "smoke"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
2018-12-13 13:40:47 -07:00
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### JTQJ-BF-01LM/BW
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.gas }}"
device_class: "gas"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
2018-12-13 13:40:47 -07:00
- "voltage"
- "action"
2018-12-01 11:15:57 -07:00
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### A6121
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:lock"
value_template: "{{ value_json.inserted }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "forgotten"
- "keyerror"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### DJT11LM
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:gesture-double-tap"
value_template: "{{ value_json.action }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "angle"
- "side"
- "from_side"
- "to_side"
- "brightness"
- "angle_x_absolute"
- "angle_y_absolute"
- "angle_z"
- "angle_y"
- "angle_x"
- "unknown_data"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1545G12
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1546G12
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1623G12
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1537R6
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1650R5
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1536G5
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1622G12
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1624G9
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### LED1649C5
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### ICTC-G-1
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "brightness"
icon: "mdi:brightness-5"
value_template: "{{ value_json.brightness }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### ICPSHC24-10EU-IL-1
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### ICPSHC24-30EU-IL-1
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### L1527
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### L1529
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### L1528
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### E1603
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 7299760PH
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 7146060PH
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 433714
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 9290011370
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 8718696449691
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 7299355PH
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 915005106701
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 9290012573A
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 9290002579A
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 8718696485880
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 915005733701
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 8718696695203
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 8718696598283
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 8718696548738
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 3261030P7
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 3216331P5
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 7199960PH
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 324131092621
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:gesture-double-tap"
value_template: "{{ value_json.action }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "angle"
- "side"
- "from_side"
- "to_side"
- "brightness"
- "angle_x_absolute"
- "angle_y_absolute"
- "angle_z"
- "angle_y"
- "angle_x"
- "unknown_data"
- "last_seen"
2018-12-01 11:15:57 -07:00
force_update: true
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 9290012607
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "°C"
device_class: "temperature"
value_template: "{{ value_json.temperature }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-01 11:15:57 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "lx"
device_class: "illuminance"
value_template: "{{ value_json.illuminance }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-13 13:40:47 -07:00
- "linkquality"
- "voltage"
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### F7C033
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### PLUG EDP RE:DY
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### CC2530.ROUTER
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.state }}"
device_class: "connectivity"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.linkquality }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "description"
- "type"
- "rssi"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### DNCKATSW001
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### DNCKATSW002
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_left }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/left/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_left"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_right }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/right/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_right"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### DNCKATSW003
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_left }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/left/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_left"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_right }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/right/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_right"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_center }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/center/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_center"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### DNCKATSW004
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_bottom_left }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/bottom_left/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_bottom_left"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_bottom_right }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/bottom_right/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_bottom_right"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_top_left }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/top_left/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_top_left"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_top_right }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/top_right/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_top_right"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 4058075816718
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AA69697
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AC03645
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AC03642
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AA70155
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AA68199
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AB32840
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 4058075816794
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AC03641
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 4052899926158
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AB401130055
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AB3257001NJ
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 4052899926110
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 4058075036185
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 4058075036147
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AB35996
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
### AC08562
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
### AC01353010G
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "°C"
device_class: "temperature"
value_template: "{{ value_json.temperature }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-13 13:40:47 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-13 13:40:47 -07:00
```
{% endraw %}
2018-12-01 11:15:57 -07:00
### HALIGHTDIMWWE27
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RB 185 C
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### BY 185 C
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
2018-12-01 11:15:57 -07:00
### RB 285 C
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RB 165
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RB 175 W
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RS 125
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RS 128 T
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RB 145
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### RB 248 T
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
2018-12-01 11:15:57 -07:00
### BY 165
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### PL 110
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### ST 110
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### UC 110
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### DL 110 N
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### DL 110 W
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### SL 110 N
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### SL 110 M
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### SL 110 W
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### SP 120
{% raw %}
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
```
{% endraw %}
2018-12-01 11:15:57 -07:00
### 73742
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 73740
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 73693
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 74283
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 74696
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 72922-A
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 74282
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 22670
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 45852GE
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 45857GE
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### E11-G13
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### E11-G23/E11-G33
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### Z01-CIA19NAE26
2018-12-13 13:40:47 -07:00
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
### Z01-A19NAE26
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
color_temp: true
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### E11-N1EA
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### K2RGBW01
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### Z809A
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### NL08-0800
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### FB56+ZSW05HG1.2
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### MG-AUWS01
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_left }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/left/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_left"
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_right }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/right/set"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "button_right"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### GL-C-008
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### STSS-MULT-001
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: false
payload_off: true
value_template: "{{ value_json.contact }}"
device_class: "door"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
2018-12-13 13:40:47 -07:00
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### STS-PRS-251
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.presence }}"
device_class: "presence"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-13 13:40:47 -07:00
- "linkquality"
2018-12-01 11:15:57 -07:00
- "voltage"
- "action"
2018-12-13 13:40:47 -07:00
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### ZLED-2709
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### ZPIR-8000
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
```
{% endraw %}
### ZCTS-808
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: false
payload_off: true
value_template: "{{ value_json.contact }}"
device_class: "door"
```
{% endraw %}
2018-12-01 11:15:57 -07:00
### 50045
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 50049
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
xy: true
2018-12-13 13:40:47 -07:00
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### AV2010/22
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
2018-12-13 13:40:47 -07:00
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
device_class: "battery"
value_template: "{{ value_json.battery }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
2018-12-13 13:40:47 -07:00
- "action"
- "sensitivity"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 3210-L
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
### 3326-L
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "°C"
device_class: "temperature"
value_template: "{{ value_json.temperature }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-13 13:40:47 -07:00
- "linkquality"
- "battery"
- "voltage"
- "last_seen"
2018-12-13 13:40:47 -07:00
```
{% endraw %}
### 3320-L
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: false
payload_off: true
value_template: "{{ value_json.contact }}"
device_class: "door"
```
{% endraw %}
2018-12-01 11:15:57 -07:00
### KS-SM001
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 53170161
2018-12-13 13:40:47 -07:00
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
### 900008-WW
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
### Mega23M12
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
light:
2018-12-13 13:40:47 -07:00
- platform: "mqtt"
2018-12-01 11:15:57 -07:00
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
2018-12-13 13:40:47 -07:00
xy: true
schema: "json"
2018-12-01 11:15:57 -07:00
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
2018-12-13 13:40:47 -07:00
{% endraw %}
2018-12-01 11:15:57 -07:00
### 4256251-RZHAC
2018-12-13 13:40:47 -07:00
{% raw %}
2018-12-01 11:15:57 -07:00
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "Watt"
icon: "mdi:flash"
value_template: "{{ value_json.power }}"
2018-12-15 11:38:29 -07:00
json_attributes:
2018-12-01 11:15:57 -07:00
- "linkquality"
- "voltage"
- "temperature"
- "consumption"
- "current"
- "power_factor"
- "last_seen"
2018-12-01 11:15:57 -07:00
```
2018-12-13 13:40:47 -07:00
{% endraw %}
### PSS-23ZBS
{% raw %}
```yaml
switch:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state }}"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
### HS1SA
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.smoke }}"
device_class: "smoke"
```
{% endraw %}
### HS3SA
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.smoke }}"
device_class: "smoke"
```
{% endraw %}
### HS1DS
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: false
payload_off: true
value_template: "{{ value_json.contact }}"
device_class: "door"
```
{% endraw %}
### HS1WL
{% raw %}
```yaml
binary_sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.water_leak }}"
device_class: "moisture"
```
{% endraw %}
### 421786
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
### D1821
{% raw %}
```yaml
light:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
brightness: true
color_temp: true
xy: true
schema: "json"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
```
{% endraw %}
2018-12-01 11:15:57 -07:00