title | description |
---|---|
HEIMAN HS1EB/HS1EB-E control via MQTT |
Integrate your HEIMAN HS1EB/HS1EB-E via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendors bridge or gateway. |
To contribute to this page, edit the following file
| Model | HS1EB/HS1EB-E | | Vendor | HEIMAN | | Description | Smart emergency button | | Supports | action | | Picture | |
By default this device exposes a deprecated click
event. It's recommended to use the action
event instead.
To disable the click
event, set legacy: false
for this device in configuration.yaml
. Example:
devices:
'0x12345678':
friendly_name: my_device
legacy: false
How to use device type specific configuration
legacy
: Set totrue
to disable the legacy integration (highly recommended!)
Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:
{% raw %}
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
icon: "mdi:toggle-switch"
value_template: "{{ value_json.click }}"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "%"
value_template: "{{ value_json.battery }}"
device_class: "battery"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.action }}"
icon: "mdi:gesture-double-tap"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "lqi"
value_template: "{{ value_json.linkquality }}"
icon: "mdi:signal"
{% endraw %}