zigbee2mqtt-extensions icon indicating copy to clipboard operation
zigbee2mqtt-extensions copied to clipboard

Increase a value

Open drsnow437 opened this issue 2 years ago • 1 comments

Hey, an ideia for a new feature. Would be nice to increase a value with an action. Example: increase the brightness of a ligh.(Instead of inputing a specific value in the automation cfg)

drsnow437 avatar Dec 28 '23 23:12 drsnow437

If your lights support brightness_step, you can use that:

automation_by_action_22: trigger: platform: action entity: - cube 1 - cube 2 action: rotate_right action: entity: red room light service: custom data: state: ON brightness_step: 20 transition: 1

iantait avatar Dec 29 '23 12:12 iantait