Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - cards:
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 50px
- type: 'custom:button-card'
- - entity: switch.front_door_lamp
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- icon: 'mdi:lamp'
- name: Front Door Lamp
- state:
- - icon: 'mdi:lamp'
- styles:
- card:
- - height: 100px
- icon:
- - width: 25%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.front_door_lamp_timer'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- value: 'off'
- - color: white
- icon: 'mdi:lamp'
- operator: default
- styles:
- card:
- - height: 100px
- - animation: mymove 10s infinite
- icon:
- - width: 25%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.front_door_lamp_timer'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- type: 'custom:button-card'
- - entity: light.first_hallway
- tap_action:
- action: call-service
- service: light.toggle
- service_data:
- entity_id: light.first_hallway
- brightness: 254
- color_temp: 140
- double_tap_action:
- action: call-service
- service: light.toggle
- service_data:
- entity_id: light.first_hallway
- brightness: 50
- color_temp: 140
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- hold_action:
- action: more-info
- icon: 'mdi:wall-sconce-flat'
- name: Ground Floor Ceiling
- state:
- - icon: 'mdi:wall-sconce-flat'
- styles:
- card:
- - height: 100px
- icon:
- - width: 25%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.ikea_ceiling_ground_floor'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- value: 'off'
- - color: white
- icon: 'mdi:wall-sconce-flat'
- operator: default
- styles:
- card:
- - height: 100px
- - animation: mymove 10s infinite
- icon:
- - width: 25%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.ikea_ceiling_ground_floor'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- type: 'custom:button-card'
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 50px
- type: 'custom:button-card'
- type: horizontal-stack
- - cards:
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 50px
- type: 'custom:button-card'
- - entity: light.first_floor_hallway
- tap_action:
- action: call-service
- service: light.toggle
- service_data:
- entity_id: light.first_floor_hallway
- brightness: 254
- double_tap_action:
- action: call-service
- service: light.toggle
- service_data:
- entity_id: light.first_floor_hallway
- brightness: 50
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- hold_action:
- action: more-info
- icon: 'mdi:wall-sconce-flat'
- name: First Floor Ceiling
- state:
- - icon: 'mdi:wall-sconce-flat'
- styles:
- card:
- - height: 100px
- icon:
- - width: 25%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.ikea_ceiling_first_floor'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- value: 'off'
- - color: white
- icon: 'mdi:wall-sconce-flat'
- operator: default
- styles:
- card:
- - height: 100px
- - animation: mymove 10s infinite
- icon:
- - width: 25%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.ikea_ceiling_first_floor'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- type: 'custom:button-card'
- - entity: light.second_ceiling_lights
- tap_action:
- action: call-service
- service: light.toggle
- service_data:
- entity_id: light.second_ceiling_lights
- brightness: 254
- color_temp: 140
- double_tap_action:
- action: call-service
- service: light.toggle
- service_data:
- entity_id: light.second_ceiling_lights
- brightness: 50
- color_temp: 140
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- hold_action:
- action: more-info
- icon: 'mdi:wall-sconce-flat'
- name: Second Floor Ceiling
- state:
- - icon: 'mdi:wall-sconce-flat'
- styles:
- card:
- - height: 100px
- icon:
- - width: 25%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.ikea_ceiling_second_floor'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- value: 'off'
- - color: white
- icon: 'mdi:wall-sconce-flat'
- operator: default
- styles:
- card:
- - height: 100px
- - animation: mymove 10s infinite
- icon:
- - width: 25%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.ikea_ceiling_second_floor'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- type: 'custom:button-card'
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 50px
- type: 'custom:button-card'
- type: horizontal-stack
- - cards:
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 50px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: automation.front_door_lamp_timer
- name: Hallway Timing<br>Automation
- show_name: false
- state:
- - icon: 'mdi:lamp'
- styles:
- card:
- - height: 70px
- icon:
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:lamp'
- operator: default
- styles:
- card:
- - height: 70px
- icon: null
- - type: 'custom:button-card'
- entity: automation.ikea_ceiling_ground_floor
- name: Hallway Timing<br>Automation
- show_name: false
- state:
- - icon: 'mdi:home-floor-g'
- styles:
- card:
- - height: 70px
- icon:
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-g'
- operator: default
- styles:
- card:
- - height: 70px
- icon: null
- - type: 'custom:button-card'
- entity: automation.ikea_ceiling_first_floor
- name: Hallway Timing<br>Automation
- show_name: false
- state:
- - icon: 'mdi:home-floor-1'
- styles:
- card:
- - height: 70px
- icon:
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-1'
- operator: default
- styles:
- card:
- - height: 70px
- icon: null
- - type: 'custom:button-card'
- entity: automation.ikea_ceiling_second_floor
- name: Hallway Timing<br>Automation
- show_name: false
- state:
- - icon: 'mdi:home-floor-2'
- styles:
- card:
- - height: 70px
- icon:
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-2'
- operator: default
- styles:
- card:
- - height: 70px
- icon: null
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 50px
- type: 'custom:button-card'
- type: horizontal-stack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement