grafalex82 / hellozigbee

Hello NXP JN5169 Zigbee
64 stars 13 forks source link

Make switches available in HomeAssistant #14

Open maksimkurb opened 5 days ago

maksimkurb commented 5 days ago

zigbee2mqtt incorrectly passes composite objects to HomeAssitant.

HASS sees a device but does not create any entities to toggle relays.

By extracting switches from composite object, relays can be controlled from HomeAssistant without sending custom MQTT messages.

Also removed unused imports to reduce memory consumption.

image

image