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

Activate scene as action? #1

Open
tobbensoft opened this issue Oct 18, 2020 · 3 comments
Open

Activate scene as action? #1

tobbensoft opened this issue Oct 18, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@tobbensoft
Copy link

Hi

Thanks for a nice "feature" everything works as intended but I'm missing the option to call a service to turn on a scene for instance..

Is that possible to implement?

:)

@nickneos nickneos added the enhancement New feature or request label Oct 18, 2020
@nickneos
Copy link
Owner

Try it with an advanced config. I don't have a scene to test but I think it should work

eg.

dimmer_main:
  module: zha_hue_dimmer_switch
  class: HueDimmerSwitch
  switch: '00:00:00:00:00:00:00:00'
  advanced:
    on_short_release: 
      action_type: turn_on
      entity: scene.scene1
    up_short_release: 
      action_type: turn_on
      entity: scene.scene2
    down_short_release: 
      action_type: turn_on
      entity: scene.scene3
    off_short_release: 
      action_type: turn_on
      entity: scene.scene4

@tobbensoft
Copy link
Author

Tried with this..

up_short_release: 
  action_type: turn_on
  entity: scene.window_soft

Accepting syntax and no errors but not working..

To my limited knowledge a scene is not an entity, so I think it needs to be called in some other way maybe?

Light and light groups work.

@nickneos
Copy link
Owner

Thanks for that.

I will create a scene in my HA to investigate further when I have some time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants