Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:mushroom-chips-card
- chips:
- - type: conditional
- conditions:
- - condition: or
- conditions:
- - condition: state
- entity: sensor.garbage_day
- state: Tomorrow
- - condition: state
- entity: sensor.garbage_day
- state: Today
- chip:
- type: entity
- entity: sensor.garbage_day
- icon_color: red
- tap_action:
- action: none
- icon: mdi:delete
- - type: conditional
- conditions:
- - condition: or
- conditions:
- - condition: state
- entity: sensor.recycle_day
- state: Tomorrow
- - condition: state
- entity: sensor.recycle_day
- state: Today
- chip:
- type: entity
- entity: sensor.recycle_day
- icon_color: green
- tap_action:
- action: none
- icon: mdi:recycle
- - type: conditional
- conditions:
- - condition: state
- entity: switch.all_light_switches
- state: 'on'
- chip:
- type: template
- icon: mdi:lightbulb-group
- content: >-
- {{ expand(states.switch.all_light_switches) | selectattr( 'state', 'eq',
- 'on') | list | count }}
- entity: light.all_lights
- icon_color: '#FAE29C'
- tap_action:
- action: navigate
- navigation_path: '#alllightswitches'
- - type: conditional
- conditions:
- - condition: state
- entity: switch.all_switches
- state: 'on'
- chip:
- type: template
- icon: mdi:light-switch
- content: >-
- {{ expand(states.switch.all_switches) | selectattr( 'state', 'eq', 'on')
- | list | count }}
- entity: switch.all_switches
- icon_color: blue
- tap_action:
- action: navigate
- navigation_path: '#allswitches'
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.all_motion_sensors_occupancy
- state: 'on'
- chip:
- type: template
- icon: mdi:motion-sensor
- content: >-
- {{ expand(states.binary_sensor.all_motion_sensors_occupancy) |
- selectattr( 'state', 'eq', 'on') | list | count }}
- entity: binary_sensor.all_motion_sensors_occupancy
- icon_color: green
- tap_action:
- action: navigate
- navigation_path: '#Allmotionsensors'
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.garage_door_status
- state: 'on'
- chip:
- type: template
- icon: mdi:garage
- content: >-
- {{ expand(states.binary_sensor.garage_door_status) | selectattr(
- 'state', 'eq', 'on') | list | count }}
- entity: binary_sensor.garage_door_status
- icon_color: pink
- tap_action:
- action: navigate
- navigation_path: '#security'
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.all_doors
- state: 'on'
- chip:
- type: template
- icon: mdi:door-sliding
- content: >-
- {{ expand(states.binary_sensor.all_doors) | selectattr( 'state', 'eq',
- 'on') | list | count }}
- entity: binary_sensor.all_doors
- icon_color: red
- tap_action:
- action: navigate
- navigation_path: '#Alldoors'
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.binary_kitchenblind
- state: 'on'
- chip:
- type: template
- icon: mdi:blinds-horizontal
- content: >-
- {{ expand(states.binary_sensor.binary_kitchenblind) | selectattr(
- 'state', 'eq', 'on') | list | count }}
- entity: binary_sensor.binary_kitchenblind
- icon_color: purple
- tap_action:
- action: navigate
- navigation_path: '#Alldoors'
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.all_low_battery
- state: 'on'
- chip:
- type: template
- tap_action:
- action: navigate
- navigation_path: '#allbattery'
- icon_color: red
- content: >-
- {{ expand(states.binary_sensor.all_low_battery) | selectattr( 'state',
- 'eq', 'on') | list | count }}
- icon: mdi:battery-alert
- entity: binary_sensor.all_low_battery
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement