The use of other attributes than device state attributes is deprecated

I have this scene… but in log file I found this warning:
2019-12-12 08:58:37 WARNING (MainThread) [homeassistant.components.light.reproduce_state] The use of other attributes than device state attributes is deprecated and will be removed in a future release. Read the logs for further details: https://www.home-assistant.io/integrations/scene/


  - name: ikea_tv
    entities:
      light.yeelight_color1_34ce009138d3:
        state: on
        brightness: 120
        rgb_color: [0,0,255]
        transition: 100
      light.yeelight_color1_7811dca1ed9b:
        state: on
        brightness: 120
        rgb_color: [0,0,255]
        transition: 100
      light.yeelight_color1_34ce00910634:
        state: on
        brightness: 120
        rgb_color: [0,0,255]
        transition: 100

If you want to use transition: You will have to use a script instead.

I removed “transition” from my scene, after restarted Hassio it seem works without errors.
Thank you

2 Likes

Glad to hear it. Just to clarify, transition is not a device or device attribute state (it just specifies how a state change should take place) , and scenes now only support device states. Not many people were happy with this change but it will not be reverted as only states work with the new scene generator.