can i use it to control wemo insight?
i managed to add wemo in ha.
do i need to run ha constantly to be able to control wemo?
can i use it to control wemo insight?
i managed to add wemo in ha.
do i need to run ha constantly to be able to control wemo?
Yes
Yes
I am looking to add my SmartMi P1 Air Purifier from HA to HE, I have added it to HE via HADB but there is not a specific Air Purifier so when it is all populated I get an standalone item for each option.
I have been looking for a while to see how i can combine these to one single device but have not had any luck. any guidance would be wonderful.
I had the same with my LG Washer and Dryer. I took the time to write an app that subscribes to all the pieces, and then I created virtual washer and dryer devices that the app populates. I did that before AI was so handy, though. AI can do this for you now.
So you need a virtual air purifier device that has all the pieces as attributes, and an app as the middle-man to populate them when the entity pieces change state. The device can also be a button device, so it should have a push command for buttons.
I would play around with AI writing something. Maybe start with this prompt, and add in some details, like the specific attribute to collect from the entity devices (usually value or string). Also tell it what you want to call the attribute in the child device (airQuality, etc).
"Write me a Hubitat Elevation App/Driver combo in Groovy. A SmartMi P1 Air Purifier is attached to Home Assistant. In Hubitat Elevation, the entities are brought into Hubitat using HADB (HA Device Bridge). This creates individual child devices in HADB for all the entities. Make an app that subscribes to these entity device attributes, and when they change, update a virtual child device to that app that is the SmartMI P1 Air Purifier. Write the code for the app and the Air Purifier child device. Make a setting in the app to choose each entity device."
Thank you for pushing me to actually try this, with a little back and forth and an hour or 2 of trouble shooting it is working great!