syssi / xiaomi_cooker

Xiaomi Mi Electric Rice Cooker integration for Home Assistant
Apache License 2.0
141 stars 37 forks source link

Allow individual sensors to be customised in the Lovelace UI #58

Closed codyc1515 closed 11 months ago

codyc1515 commented 1 year ago

This fixes #47 allowing individual sensors to be customised in the Lovelace UI.

Ideally, this would be based off of the MAC Address of the device as it is static, whereas the Host IP Address and the Token can change. However, it is instead based off of the Domain of the integration so could conflict if there are multiple rice cookers. I'm open to suggestions on how to change this from Domain to MAC Address.

Thank you

syssi commented 1 year ago

Your solution isn't accepted by HA core developer documentation: https://developers.home-assistant.io/docs/entity_registry_index/

You should ask the device using the device.info call about the MAC address instead.

codyc1515 commented 1 year ago

Sorry, I don't know how to do that.

codyc1515 commented 11 months ago

This integration isn't for HA core, so it shouldn't really matter.