micolous / cbus

Use Python to communicate with a Clipsal C-Bus PCI or CNI! Includes MQTT bridge (for Home Assistant), PCI simulator, and reverse engineering notes.
http://cbus.readthedocs.org/
GNU Lesser General Public License v3.0
49 stars 27 forks source link

HA Discovery as different device type #32

Open beerygaz opened 2 years ago

beerygaz commented 2 years ago

I have a few shutter/blind controllers that use a group for up/down/stop - it would be great if cmqttd could publish the device type as "cover" instead of "light". The only way I can think of achieving this would be to have a text file that mapped groups to HA device types (this would enable the "switch" type and "button" type too which may be useful?)