Transition for Philips hue not working

I use zigbee2mqtt and when triggering the light it just turns on without transition.

Any Idea?

- alias: Kitchen Light
  trigger:
    platform: state
    entity_id: sensor.button_1_click
    to: single
  action:
    service: light.turn_on
    entity_id:  light.kitchen
    data:
      transition: 150

also tried:

- alias: Kitchen Light
  trigger:
    platform: state
    entity_id: sensor.button_1_click
    to: single
  action:
    service: light.turn_on
    data:
      entity_id:  light.kitchen
      transition: 150

On MQTT:

{"state": "ON", "transition": 150.0}

Does it work if you go to Developer Tools -> Services and enter your parameters there?

2 Likes

No, the same outcome. It just turns on and off.

Edit: solved, I have to define the brithness
Thanks very much for the hint to go to Developer Tools -> Services
in my case:

- alias: Kitchen Light
  trigger:
    platform: state
    entity_id: sensor.button_1_click
    to: single
  action:
    service: light.turn_on
    data:
      entity_id:  light.kitchen
      brightness: 255
      transition: 15
2 Likes