Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:mushroom-template-card
- entity: script.vacuum_front_entry
- secondary: Entry
- icon: mdi:door
- icon_color: light-green
- layout: horizontal
- tap_action:
- action: toggle
- OR
- type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- entity: script.vacuum_front_entry
- secondary: Entry
- icon: mdi:door
- icon_color: light-green
- layout: horizontal
- tap_action: null
- action: toggle
- - type: custom:mushroom-template-card
- entity: script.vacuum_kitchen
- secondary: Kitchen
- icon: mdi:door
- icon_color: light-green
- layout: horizontal
- tap_action: null
- action: toggle
- OR
- type: horizontal-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:layout-card
- layout_type: custom:grid-layout
- layout:
- grid-template-columns: auto
- margin: '-4px -4px -8px -4px'
- cards:
- - type: custom:stack-in-card
- mode: horizontal
- keep:
- background: true
- border_radius: true
- margin: true
- cards:
- - type: custom:mushroom-template-card
- entity: script.start_vacuuming_all_rooms_or_pause
- icon: mdi:play
- icon_color: green
- badge_icon: >-
- {{ 'mdi:robot-vacuum' if
- is_state('vacuum.roborock_vacuum_a15', 'cleaning') }}
- badge_color: >-
- {{ 'green' if
- is_state('vacuum.roborock_vacuum_a15','cleaning') }}
- tap_action:
- action: toggle
- layout: horizontal
- - type: custom:mushroom-template-card
- entity: script.stop_vacuum
- icon: mdi:stop
- icon_color: red
- badge_icon: '{{ ''mdi:reload'' if is_state(''script.stop_vacuum'', ''on'') }}'
- badge_color: '{{ ''black'' if is_state(''script.stop_vacuum'',''on'') }}'
- layout: horizontal
- tap_action:
- action: toggle
- - type: custom:mushroom-template-card
- entity: script.vacuum_return_to_dock
- badge_icon: >-
- {{ 'mdi:reload' if is_state('vacuum.roborock_vacuum_a15',
- 'returning') }}
- badge_color: >-
- {{ 'red' if
- is_state('vacuum.roborock_vacuum_a15','returning') }}
- icon: mdi:home
- icon_color: light-blue
- layout: horizontal
- tap_action:
- action: toggle
- - type: custom:mushroom-template-card
- entity: input_boolean.map_mode_enabled
- icon: mdi:map-check
- icon_color: orange
- badge_icon: >-
- {{ 'mdi:arrow-up-bold' if
- is_state('input_boolean.map_mode_enabled', 'on') else
- 'mdi:arrow-down-bold' }}
- badge_color: >-
- {{ 'red' if is_state('input_boolean.map_mode_enabled',
- 'on') else 'green' }}
- layout: horizontal
- tap_action:
- action: toggle
- - type: custom:mushroom-template-card
- entity: input_boolean.vac_info
- icon: mdi:information
- icon_color: lime
- badge_icon: >-
- {{ 'mdi:arrow-up-bold' if
- is_state('input_boolean.vac_info', 'on') else
- 'mdi:arrow-down-bold' }}
- badge_color: |-
- {{ 'red' if is_state('input_boolean.vac_info', 'on') else
- 'green' }}
- layout: horizontal
- tap_action:
- action: toggle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement