Heya! I’m new to HASS. I am banging my head against the wall here.
What I want:
To set my tuya integrated LED lightstrip on in the morning with a specific brightness and color temp.
I have tried using both service and device, but home assistant complains that “color_temp” is not available in automations. Why!?! I also attempted kelvin, rgb color, all same complaint. I used dev. tools to call the service, and I can change the temp using color_temp no problem. Why does HASS not allow color temp in automations, but works fine in scenes? This is very confusing to a newbie.
Hi there… It would be helpful if you could share the automation yaml so that we can make modifications for you. For this just copy the automation yaml and then paste it here between ``` symbol.
That’s totally done it, thank you a million times over. Can you give me the reason why? I see you switched it to a service, but I see entity_id at the end? This is a bit confusing… like in normal human language you would call what device, then action, the attributes, I don’t get why order is so specific here.
From my experience I have seen that calling services have been easy than assigning devices. Its similar to devices action but in devices we have to select domains and the type and all which again calls the service under that domain. In the method we are clearly defining the service which we want to use i,e light.turn_on. Then instead of device_id we have to define the entity_id i,e light.21700715d8bfc00aeb3c and later the parameters to use with this service. You can get a better understanding of this in the service tab in the developer console
Thanks a bunch. Next issue: The tuya (smart life) app has scenes/effects in the app. I can’t seem to pull them into hass. I manually defined the effects in customize.yaml as such: