To contribute to this page, edit the following file

LeTV LeTV.8KEY #

Model LeTV.8KEY
Vendor LeTV
Description 8key switch
Exposes action, linkquality
Picture LeTV LeTV.8KEY

Notes #

None

Exposes #

Action (enum) #

Triggered action (e.g. a button click). Value can be found in the published state on the action property. It’s not possible to read (/get) or write (/set) this value. The possible values are: hold_up, single_up, double_up, tripple_up, hold_down, single_down, double_down, tripple_down, hold_left, single_left, double_left, tripple_left, hold_right, single_right, double_right, tripple_right, hold_center, single_center, double_center, tripple_center, hold_back, single_back, double_back, tripple_back, hold_play, single_play, double_play, tripple_play, hold_voice, single_voice, double_voice, tripple_voice.

Linkquality (numeric) #

Link quality (signal strength). Value can be found in the published state on the linkquality property. It’s not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 255. The unit of this value is lqi.

Manual Home Assistant configuration #

Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.action }}"
    enabled_by_default: true
    icon: "mdi:gesture-double-tap"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    value_template: "{{ value_json.linkquality }}"
    unit_of_measurement: "lqi"
    enabled_by_default: false
    icon: "mdi:signal"
    state_class: "measurement"