upsert / lutron-caseta-pro

Custom Home Assistant Component for Lutron Caseta Smart Bridge PRO / RA2 Select
Apache License 2.0
184 stars 38 forks source link

Scenes with covers don't work after upgrading to 0.101.x #38

Closed oleggold closed 4 years ago

oleggold commented 5 years ago

The syntax of scene has changed in 0.101.x and it is now required that every entity in a scene has the state declared. Adding the state fixed scenes syntax errors, but scene does nothing when activated. Below is from my configuration.yaml: ` scene:

upsert commented 5 years ago

Looks like they broke the scene component. I will need to add some state attributes.

upsert commented 5 years ago

After further investigation, they are using state attributes that rely on current_cover_position which is already implemented, so no changes are needed.

I tested with a scene with state and current_position and it seems to work. Also looked at other cover implementations built into Home Assistant and did not see any changes to other components triggered by the breaking change in scene.

If you still cannot get it to work, it may be easier to create that scene externally in the Lutron app since it appears to be all Lutron devices.

oleggold commented 5 years ago

Would you mind posting the configuraiton.yaml definition of the scene with covers that you have tested with? Thanks.