ulic75 / lovelace-mushroom

Custom Cards for Mushroom 🍄
Apache License 2.0
1 stars 0 forks source link

[Bug]: Enable/Disabling Hide State drops into YAML mode with error #27

Closed ciedema closed 2 years ago

ciedema commented 2 years ago

Current Behavior

When checking/unchecking the Hide State slider the error below appears in the UI.

Visual editor is not supported for this configuration: At path: hide_state -- Expected a value of type never, but received: true You can still edit your config in YAML.

Expected Behavior

Control to remain in Visual Editor Mode.

Can be temporalily fixed by removing the "hide_state:" path from the YAML.

Steps To Reproduce

  1. Edit Control
  2. Check/UnCheck "Hide state?" option.

Environment

- OS:Windows 10/Edge
- Browser: Edge
- Version: 102.0.1245.39
- Hassio: 2022.6.6

Anything else?

Upgraded both the custom card and Home Assistant prior to noticing the error. Not sure which one (or both) caused the issue.