upsert / lutron-caseta-pro

Custom Home Assistant Component for Lutron Caseta Smart Bridge PRO / RA2 Select
Apache License 2.0
184 stars 37 forks source link

Use area from lutron app for area (to propagate to Google) #28

Open Linwood-F opened 5 years ago

Linwood-F commented 5 years ago

If I have a device, say z-wave, and put it in an area in Home Assistant, this becomes a room in Google Assistant.

There does not appear to be a way to provide the area name for devices generated from this integration. Ideally (at least for me) if the room name in the lutron app could flow into the area definition in Home Assistant, I think it would propagate to Google Assistant.

Unless I am missing something and it should, but is not.

Alternatively, is there a way to specify the area even if manually in a customize or configuration file?

PS. Been using this heavily over the last few weeks as I just put in caseta, and it has been working great!

upsert commented 5 years ago

There is almost no documentation on how to use the area registry: https://developers.home-assistant.io/docs/en/area_registry_index.html

It seems like the feature is not fully implemented in Home Assistant.

Linwood-F commented 5 years ago

Concise, isn't it.

I do know if I use it and manually (in the integration dialog, say for z-wave) that it propagates to Google. Z-wave of course has a GUI; not suggesting yours needs a GUI, but wondering if you can take the lutron room name (as you already do for naming) and if you find a matching area name, shove its ID in somewhere, perhaps derived from whereever the zwave code puts it, as it creates devices?

Of course I am not looking at the code and can also describe how to create world peace and make it sound easy, so apologies for over-simplifying, as I sure I am.

bdraco commented 4 years ago

This would need to be converted to config flow first

bdraco commented 4 years ago

Then it can be provided via device_info

AppleTechy commented 4 years ago

I just want to say thank you for your plugin it has been working great for me! As other have mentioned I would love to see it as an official component in HA. I was wondering if there was any update as to being able to configure this plugin via Lovelace UI? That would then allow for customization of area of the device.