-
Hello, I followed the Wiki and have the error message below when adding the Raw Config code, please help. "Unable to parse YAML: YAMLException: duplicated mapping key (266:1) 263 | entity: alarm_contr ... 264 | strategy: 265 | type: custom:mushroom-strategy 266 | views: [] -------^" |
Beta Was this translation helpful? Give feedback.
Answered by
DigiLive
Jan 25, 2024
Replies: 1 comment
-
This means your yaml isn't valid. In the raw configuration editor the code should be at least: strategy:
type: custom:mushroom-strategy
views: [] You can customize the strategy by setting options, e.g. strategy:
type: custom:mushroom-strategy
options:
views:
light:
title: illumination
switches:
hidden: true
icon: mdi:toggle-switch
chips:
weather_entity: weather.forecast_home
climate_count: false
cover_count: false
views: [] /~https://github.com/AalianKhan/mushroom-strategy/wiki/Full-Example |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DigiLive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This means your yaml isn't valid.
Somewhere you duplicating an entry.
In the raw configuration editor the code should be at least:
You can customize the strategy by setting options, e.g.
/~https://github.com/AalianKhan/mushroom-strategy/wiki/Full-Example