thomasloven / hass-plejd

🔹 Plejd BLE integration for Home Assistant
81 stars 10 forks source link

Entity names are too long #16

Closed bnordli closed 11 months ago

bnordli commented 1 year ago

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).

astrandb commented 1 year 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.

Davst commented 1 year ago

I agree. currently the device name isn't really interesting for the end user. the controls are what amounts to a light.

SM6WGG commented 1 year ago

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!