mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-23 19:19:52 +00:00
Add homeassistant sensor_action
This commit is contained in:
@@ -95,6 +95,15 @@ const configurations = {
|
||||
value_template: '{{ value_json.power }}',
|
||||
}
|
||||
},
|
||||
'sensor_action': {
|
||||
type: 'sensor',
|
||||
object_id: 'action',
|
||||
discovery_payload: {
|
||||
icon: 'mdi:cube',
|
||||
value_template: '{{ value_json.action }}',
|
||||
json_attributes: ['battery'],
|
||||
}
|
||||
},
|
||||
|
||||
// Light
|
||||
'light_brightness_colortemp_xy': {
|
||||
|
||||
Reference in New Issue
Block a user