Closed bnordli closed 11 months ago
I agree that the entity names are too long. The model is clearly visible in the device views and has limited value in daily use. The Shelly integration describe their algorithm for default entity names in detail in HA docs Perhaps something to take inspiration from.
I agree. currently the device name isn't really interesting for the end user. the controls are what amounts to a light.
Changing def device_info(self): "name": to be self.device.name and remove the def name(self): property in switch.py and light.py worked like a charm for me. Now devices are using the Plejd names insted of brandname followed by device model and entity id's are the same.
Love the intergration so far! Lightning fast and easy to use/install. and seem to work flawelessly toghether with other bluetooth devices on the same adapter!
Entity names are now similar to "Plejd REL-02 {plejdName}" where {plejdName} is the name given in the Plejd app.
I think the default entity name should just be the same as in the Plejd app (like I think it was before).