Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cards:
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: entities
- show_icon: false
- entities:
- - input_select.ground_floor_plan
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - height: 5px
- type: 'custom:button-card'
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: 'custom:state-switch'
- entity: input_select.ground_floor_plan
- states:
- Lights:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:lamp'
- tap_action:
- action: toggle
- style:
- top: 6%
- left: 8%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:wall-sconce-flat'
- tap_action:
- action: toggle
- style:
- top: 20%
- left: 15%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:wall-sconce-flat'
- tap_action:
- action: toggle
- style:
- top: 12%
- left: 65%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:wall-sconce-flat'
- tap_action:
- action: toggle
- style:
- top: 72%
- left: 63%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.sonoff_10004008d2
- icon: 'mdi:floor-lamp'
- tap_action:
- action: toggle
- style:
- top: 29%
- left: 50%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_corner_rgb
- icon: 'mdi:led-strip-variant'
- tap_action:
- action: toggle
- hold_action:
- action: more-info
- style:
- top: 39%
- left: 83%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_sink_rgb
- tap_action:
- action: toggle
- hold_action:
- action: more-info
- icon: 'mdi:led-strip-variant'
- style:
- top: 60%
- left: 83%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_corner_rgb
- icon: 'mdi:ceiling-light'
- style:
- top: 76%
- left: 26%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- Security:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: binary_sensor.openclose_26
- icon: 'mdi:door-closed'
- style:
- top: 0.5%
- left: 21%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.openclose_30
- icon: 'mdi:door-closed'
- style:
- top: 25%
- left: 35%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.openclose_20
- icon: 'mdi:door-closed'
- style:
- top: 46.5%
- left: 42%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.openclose_19
- icon: 'mdi:door-closed'
- style:
- color: red
- top: 89%
- left: 65%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.hall_pir
- tap_action:
- action: more-info
- icon: 'mdi:motion-sensor'
- style:
- top: 52%
- left: 31%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.hall_pir
- tap_action:
- action: more-info
- icon: 'mdi:motion-sensor'
- style:
- top: 3%
- left: 85%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.kitchen_motion_sensor2
- icon: 'mdi:motion-sensor'
- tap_action:
- action: more-info
- style:
- top: 89%
- left: 50%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: camera.uvc_g3_back_2
- tap_action:
- action: more-info
- icon: 'mdi:cctv'
- style:
- top: 37.5%
- left: 66%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- Temperature:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: sensor.temperature_27
- icon: 'mdi:thermometer'
- tap_action:
- action: more-info
- style:
- top: 12%
- left: 29%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: sensor.temperature_27
- icon: 'mdi:thermometer'
- tap_action:
- action: more-info
- style:
- top: 30%
- left: 63%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: sensor.temperature_27
- icon: 'mdi:thermometer'
- tap_action:
- action: more-info
- style:
- top: 57%
- left: 43%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_sink_rgb
- icon: 'mdi:water-alert'
- style:
- top: 72%
- left: 83%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- Media:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: media_player.snug_tv
- icon: 'mdi:television'
- tap_action:
- action: more-info
- style:
- top: 10%
- left: 85%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: media_player.googlehome4654
- icon: 'mdi:google-home'
- tap_action:
- action: more-info
- style:
- top: 43%
- left: 85%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - height: 20px
- type: 'custom:button-card'
- type: vertical-stack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement