Is it possible to override device type when exposing to Google assistant ?
For example i have Daikin AC which is used via Daikin integration.
So all Climate entities get exposed as action.devices.types.THERMOSTAT is it possible to
export my specific Daikin entity as action.devices.types.AC_UNIT instead?
I had similar problem with my coffee maker which currently exposes as a switch
I guess by local GA you mean GA connects directly to my instance.
Then yes i run local
The best approach would have been to allow device_class attribute for climate and switch
and then introduce proper constants in google_assistant component and the proper changes in helper.py but it gets too complicated for someone who canât write python code, like me
Hopefully HA team will introduce something like this in near future
Iâm having difficultly copying your solution for device type by using an if statement to declare type, its been a little while now and the google assistant component may have been updated: do you know what section you put it under in âhelper.pyâ (custom_components/google_assistant/)?
Iâm also trying to work out how to get Google Assistant to request acknowledgement on certain devices, I see the ability is there for it in âconst.pyâ
Any help would be great, thanks.
I found a simple work around for correcting my device type from blinds to curtain by adding a few extra lines in âconst.pyâ - it grabs the device class from HA, so when it see its device class returns as curtain, it declares it as action.device.type.curtain instead of the default blinds⌠now google recognises my curtains are not blinds