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

Device info - create scene shows even if scene not defined in configuration.yaml #4666

Closed
3 tasks done
SeanPM5 opened this issue Jan 30, 2020 · 0 comments · Fixed by #4671
Closed
3 tasks done

Device info - create scene shows even if scene not defined in configuration.yaml #4666

SeanPM5 opened this issue Jan 30, 2020 · 0 comments · Fixed by #4671
Assignees
Labels
Bug Current Bug in UI - Extra Attention

Comments

@SeanPM5
Copy link
Contributor

SeanPM5 commented Jan 30, 2020

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.

The problem

Installed the beta on a secondary test instance, which does not have scene: defined in configuration.yaml

Yet on the Device Info page it has the "Create Scene with Device" button which takes me to the Scene Editor. A non-functional Scene Editor though, after you hit the Save button it shows this error in the toast Failed to call service scene/apply. Service not found.

You can see from this screenshot, there's no "Scenes" in the top tabs yet I'm on the Scene editor.
image

Expected behavior

It should either hide the Scenes card completely on Device Info page OR scenes should be made part of default_config:

Steps to reproduce

  1. Don't have scene: defined in your configuration.yaml
  2. Visit a device info page for a light or something, and press the button underneath the Scenes card
  3. Try to save this scene and watch for the toast error in bottom left

Environment

  • Home Assistant release with the issue: 0.105.0b
  • Last working Home Assistant release (if known): n/a
  • UI Type (States or Lovelace): Lovelace
  • Browser and browser version: Chrome
  • Operating system: macOS

Problem-relevant configuration

Javascript errors shown in your browser console/inspector

Additional information

@SeanPM5 SeanPM5 added the Bug Current Bug in UI - Extra Attention label Jan 30, 2020
@bramkragten bramkragten self-assigned this Jan 30, 2020
bramkragten added a commit that referenced this issue Jan 30, 2020
Fixes #4666
Fixes #4664
Fixes #4663
Fixes #4662
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Current Bug in UI - Extra Attention
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants