Add homeassistant sensor_action

This commit is contained in:
Koenkk
2018-05-10 11:34:56 +03:00
committed by Marius Ciotlos
parent 06fb89da3a
commit b41cacd992
+9
View File
@@ -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': {