Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

[feat] Include Device Status in HASS Json #718

Open
jamesarbrown opened this issue Sep 10, 2020 · 2 comments
Open

[feat] Include Device Status in HASS Json #718

jamesarbrown opened this issue Sep 10, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jamesarbrown
Copy link

It would be nice if we can push a connectivity device to hass to easily pickup failed zwave nodes

Working Example For a Fibaro Smart Implant
{
"type": "binary_sensor",
"object_id": "connectivity",
"discovery_payload": {
"payload_on": true,
"payload_off": false,
"value_template": "{{ value_json.value }}",
"device_class": "connectivity",
"state_topic": "homeassistant/Gate/Gate/status",
"json_attributes_topic": "homeassistant/Gate/Gate/status",
"device": {
"identifiers": [
"zwave2mqtt_0xd15fadb6_node20"
],
"manufacturer": "FIBARO System",
"model": "FGBS222 Smart Implant (0x1000)",
"name": "Gate-Gate",
"sw_version": "5.01"
},
"name": "Gate-Gate_connectivity",
"unique_id": "zwave2mqtt_0xd15fadb6_20-status"
},
"discoveryTopic": "binary_sensor/Gate-Gate/status/config",
"values": [
"status"
],
"persistent": false,
"ignoreDiscovery": false,
"id": "binary_sensor_connectivity"
}

@jamesarbrown jamesarbrown added the enhancement New feature or request label Sep 10, 2020
@robertsLando
Copy link
Member

@jamesarbrown would you like this to be extended to all devices or just for some? How would yout expect this to be implemented in the UI?

@robertsLando robertsLando changed the title Include Device Status in HASS Json [feat] [feat] Include Device Status in HASS Json Sep 15, 2020
@jamesarbrown
Copy link
Author

@robertsLando I think the connectivity is currently created by all devices on the mqtt broker, so I think my answer would be that the JSON should be generated for all, after all it will follow the same pattern always and you can always hide within HA

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants