05-12-2025 05:53 PM
I'm trying to understand the "sub-devices" and automating them. Currently, I can ask my home/hub/mini to turn off individual outlets on my outdoor power plug device (DEFIANT Hubspace HPPA52CWB) and it does so. The device turns on and the outlet I ask for turns on; E.g.: "Hey Google, turn on outlet 1." *Defiant turns on* *Plug 1 turns on*.
How can I figure out the reference or sub-state of the individual outlets? I can only seem to get the whole device itself to work and not the plugs themselves even though the my google devices can do it.:
- starters: - type: device.state.OnOff device: Greenhouse - Patio state: on is: false actions: - type: device.command.OnOff devices: - Greenhouse - Patio on: true
ps: I will be adding a device state check prior then checking the weather if it's possible. If sunny, turn on at sunset - 1 hour. If rainy, turn on at 6 am.
05-16-2025 09:41 PM - edited 05-23-2025 02:48 PM
Hi @Dahveed,
Thanks for posting in the community! It's great that you can already control the individual outlets on your DEFIANT Hubspace outdoor plug with voice commands. You're right, figuring out how to automate those individual "sub-devices" in Google Home can be a bit tricky. Let's explore how you can do that!
To get you started with understanding and creating these types of automations, I recommend checking out these helpful Google Home Help Center articles:
Please let me know how it goes or if you have any other questions! I'd be happy to help you.
Best regards,
Debora
05-21-2025 06:54 PM - edited 05-23-2025 05:46 PM
Hi DeboraJ,
Not sure who dalemwebb is 😂 Edit: Thanks for updating.
I've looked at the material and nothing indicates how to address sub-devices like the two separate and individual plugs on the smart power outlet device. Nor is there a method documented on how to discover the devices control method. No state or actions listed describe control further than the top level of the power device either.
Did I miss something in the docs?
05-23-2025 09:38 PM
Hi @Dahveed,
Thanks for looking at those articles I sent! After checking your case, it seems we have another forum, the "Smart Home Developer Forum," where more specialists might be able to give you even better answers and steps. Just click the highlighted text to head over there!
Let me know if this was helpful! I'm happy to assist you further.
Best regards,
Debora