Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] How to use transitions with Hold / Click Modes? #836

Open
sabaatworld opened this issue Apr 24, 2023 · 0 comments
Open

[QUESTION] How to use transitions with Hold / Click Modes? #836

sabaatworld opened this issue Apr 24, 2023 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@sabaatworld
Copy link
Contributor

Question

Its not clear from the documentation https://xaviml.github.io/controllerx/advanced/hold-click-modes/ on how to use transitions. I'm looking to force a transition value to all on / off / brightness changes. It always seems to use the default 0.35 value. Can you please help me figure out how to do this?

Additional information

  • Devices involved:
    • Model: LutronPJ23BRLLightController
  • Integration: lutron_caseta
  • AppDaemon version: 4.4.2
  • ControllerX version: 4.26.2
  • HACS version (if installed from there): Latest
  • Home Assistant Core version: Latest

AppDaemon app configuration

hallway_stairs_remote:
  module: controllerx
  class: LutronPJ23BRLLightController
  controller: 66731596
  integration: lutron_caseta
  light: light.office_lamp
  merge_mapping:
    "button_5_press":
      action: hold
      attribute: brightness
      direction: up
      mode: stop
      transition: 2000

Logs

2023-04-24 07:48:50.174686 INFO hallway_stairs_remote: 🏃 Running `Predefined (release)` now
2023-04-24 07:48:50.171459 INFO hallway_stairs_remote: 🎮 Button event triggered: `button_5_release`
2023-04-24 07:48:49.970449 INFO hallway_stairs_remote: 🤖 Service: �[1mlight.turn_on�[0m - entity_id: light.office_lamp - transition: 0.35 - brightness: 114
2023-04-24 07:48:49.955306 INFO hallway_stairs_remote: 🏃 Running `Predefined (hold)` now
2023-04-24 07:48:49.952138 INFO hallway_stairs_remote: 🎮 Button event triggered: `button_5_press`

Additional Context

N/A

@sabaatworld sabaatworld added the question Further information is requested label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants