sbidy / wiz_light

A WiZ Light integration for Home Assistant
MIT License
341 stars 68 forks source link

Lights not showing up as devices #39

Closed TravisRoy closed 4 years ago

TravisRoy commented 4 years ago

Home Assistant 0.115.6

Lights added with wiz_light integration are not showing up as devices so they can not be used in automation.

steveothesane commented 4 years ago

I was able to get them to work with the automation. You have to call them as a service. Once you do that they should operate as expected.

TravisRoy commented 4 years ago

I was able to get them to work with the automation. You have to call them as a service. Once you do that they should operate as expected.

I guess that's an okay work around, but shouldn't they really show up as a device like all other lights?

steveothesane commented 4 years ago

I have noticed a lot of IoT devices don't appear like they should. So I just play around with it until I get it to work. I'm just thankful that someone did all the hard work of the re-engineering so that all I had to do was a little research and trial and error. I still have a doorbell camera and a ceiling fan to figure out. I'm loosing hair by the minute. LOL

TravisRoy commented 4 years ago

@steveothesane Do you have an example of some automations with the Wiz bulbs? I can't seem to figure it out. I just want it to turn on when a motion sensor detects motion.

steveothesane commented 4 years ago

@TravisRoy absolutely. So in Configurations then Automations, in the Actions section this is how I did it: image Here is the code from the automations.yaml file:

Now I have two devices with actions here. One is a outlet switch for a lamp without a smart bulb and the other is the Wiz bulb. That would be the porch light.

Let me know how yours turns out.

TravisRoy commented 4 years ago

@steveothesane WOOHOO! That's exactly what I was looking for. Thank you so much.

sbidy commented 4 years ago

@steveothesane thank you for the support!

steveothesane commented 4 years ago

@TravisRoy &@sbidy you are very welcome. We are a single community where each of us needs help that another can offer.