Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cards:
- - elements:
- - icon: 'mdi:bell-ring'
- style:
- color: '#000000'
- left: 90%
- top: 95%
- tap_action:
- action: call-service
- service: vacuum.locate
- service_data:
- entity_id: vacuum.xiaomi_vacuum_cleaner
- type: icon
- - icon: 'mdi:home'
- style:
- color: '#000000'
- left: 75%
- top: 95%
- tap_action:
- action: call-service
- service: vacuum.return_to_base
- service_data:
- entity_id: vacuum.xiaomi_vacuum_cleaner
- type: icon
- - icon: 'mdi:stop'
- style:
- color: '#000000'
- left: 60%
- top: 95%
- tap_action:
- action: call-service
- service: vacuum.stop
- service_data:
- entity_id: vacuum.xiaomi_vacuum_cleaner
- type: icon
- - icon: 'mdi:pause'
- style:
- color: '#000000'
- left: 45%
- top: 95%
- tap_action:
- action: call-service
- service: vacuum.pause
- service_data:
- entity_id: vacuum.xiaomi_vacuum_cleaner
- type: icon
- - icon: 'mdi:play'
- style:
- color: '#000000'
- left: 30%
- top: 95%
- tap_action:
- action: call-service
- service: vacuum.start
- service_data:
- entity_id: vacuum.xiaomi_vacuum_cleaner
- type: icon
- - icon: 'mdi:robot-vacuum'
- style:
- color: '#000000'
- left: 10%
- top: 95%
- tap_action:
- action: toggle
- entity: input_boolean.vacuum_tryb
- type: icon
- - entity: sensor.vacuum_operation
- style:
- background-color: '#000000'
- border-color: 'rgb(34, 154, 210)'
- border-radius: 6px
- color: 'rgb(255, 255, 255)'
- font-family: Trebuchet MS
- font-size: 100%
- font-weight: bold
- left: 0%
- pointer-events: none
- top: 10%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_accessories
- style:
- background-color: '#000000'
- border-color: 'rgb(34, 154, 210)'
- border-radius: 6px
- color: 'rgb(255, 255, 255)'
- font-family: Trebuchet MS
- font-size: 100%
- font-weight: bold
- pointer-events: none
- right: 0%
- top: 10%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: vacuum.xiaomi_vacuum_cleaner
- style:
- '--paper-item-icon-color': 'rgb(115, 122, 130)'
- action: more-info
- font-size: 150%
- font-weight: bold
- left: 50%
- tap_action: null
- top: 8%
- type: state-label
- - entity: sensor.vacuum_cleanmainbrush
- style:
- border-color: '#ffffff'
- border-right-style: solid
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 90%
- font-weight: bold
- pointer-events: none
- right: 0%
- top: 25%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_cleansidebrush
- style:
- border-color: '#ffffff'
- border-right-style: solid
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 90%
- font-weight: bold
- pointer-events: none
- right: 0%
- top: 35%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_cleanfilter
- style:
- border-color: '#ffffff'
- border-right-style: solid
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 90%
- font-weight: bold
- pointer-events: none
- right: 0%
- top: 55%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_sensordirtyleft
- style:
- border-color: '#ffffff'
- border-right-style: solid
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 90%
- font-weight: bold
- pointer-events: none
- right: 0%
- top: 65%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_status
- prefix: 'Status: '
- style:
- border-color: '#ffffff'
- border-left-style: solid
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 90%
- font-weight: bold
- left: 0%
- pointer-events: none
- top: 25%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_battery
- style:
- border-color: '#ffffff'
- border-left-style: solid
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 90%
- font-weight: bold
- left: 0%
- pointer-events: none
- top: 38%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_fan_speed
- style:
- border-color: '#ffffff'
- border-left-style: solid
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 90%
- font-weight: bold
- left: 0%
- pointer-events: none
- top: 68%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: sensor.vacuum_cleaned_area
- prefix: 'Area: '
- style:
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 100%
- font-weight: bold
- left: 59%
- pointer-events: none
- top: 85%
- transform: 'translate(0%,-50%)'
- type: state-label
- - entity: input_number.ilosc_sprzatan
- prefix: 'Ilość sprzątań: '
- style:
- color: '#ffffff'
- font-family: Trebuchet MS
- font-size: 100%
- font-weight: bold
- left: 15%
- pointer-events: none
- top: 85%
- transform: 'translate(0%,-50%)'
- type: state-label
- image: /local/image/vacuum.png
- type: picture-elements
- - type: entities
- entities:
- - entity: input_select.vacuum_room
- image: /local/image/vacuumicon.png
- name: Pomieszczenia
- style: |
- ha-card {
- background: url('/local/image/vacuumlist.png');
- }
- type: 'custom:vertical-stack-in-card'
Add Comment
Please, Sign In to add comment