Replies: 5 comments 6 replies
-
I do like the looks, but I have some objections also...
areas:
biljardrum:
type: area
area: biljardrum
navigation_path: biljardrum @johanfrick said:
|
Beta Was this translation helpful? Give feedback.
-
@DigiLive I have now updated the PR and changed the code so that it is not pushing for using another card than mushroom. WhatThis provides an option to set options for all area cards as well as dynamically get access to the area ID. Examples: Change layout for all area cards: strategy:
type: custom:mushroom-strategy
options:
areas:
_:
layout: vertical Use another card for areas: strategy:
type: custom:mushroom-strategy
options:
_:
type: area
area: "{{area_id}}"
navigation_path: "{{area_id}}" |
Beta Was this translation helpful? Give feedback.
-
@johanfrick Unlocked #52 to discuss the commits. Please discuss the generic things over here. Until now, no votes other than mine. |
Beta Was this translation helpful? Give feedback.
-
As I'm reviewing the PR (#52) and tweaking it, I've noticed the following which I'm not keen on: Note the different heights and the placements of the sensors/buttons. |
Beta Was this translation helpful? Give feedback.
-
Merged at #52 |
Beta Was this translation helpful? Give feedback.
-
One of our users made the effort in a PR (#52) as described below.
However, we're not entirely sure about implementing his idea into the strategy and would like our users opinion about it.
Please vote and comment your thoughts...
What
This provides an option to use
type: area
instead of mushroom-template-card for Areas, by configuringuse_type_area: true
.Along with that an option is also added to set common options for all area cards. Example:
Of course it was already possible to override type in mushroom-strategy, but that wouldn't work with the
type: area
, since it also requiresarea: <area id>
.Why
Example
Example of how it can look:
3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions