AalianKhan / mushroom-strategy

A strategy to automatically generate a dashboard using mushroom cards
MIT License
364 stars 36 forks source link

Alllow showControls for all `_` Domains #126

Open pavolholes opened 6 months ago

pavolholes commented 6 months ago

Is your feature request related to a problem? Please describe. I would like to disable controls for all domains (lights and switches and covers etc.) so they can't be turned on or turned off unintentionally.

Describe the solution you'd like

strategy:
  type: custom:mushroom-strategy
  options:
    domains:
      _:
        showControls: false

Describe alternatives you've considered Below is working

strategy:
  type: custom:mushroom-strategy
  options:
    domains:
      light:
        showControls: false
      switch:
        showControls: false
      cover:
        showControls: false
      vacuum:
        showControls: false

Edit 07-02-2024: Issue below is fixed. Additional context There is a typo mistake in the Domain example where the light: is written as lights.