Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - theme: Graphite
- title: Tablet
- path: tablet
- icon: mdi:tablet
- type: custom:horizontal-layout
- background: center / cover no-repeat fixed url('/local/bg.jpg')
- layout:
- max_cols: 3
- badges: []
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: switch.sonoff_1000c8ee58
- name: Kert Világítás
- icon: mdi:lightbulb
- color: rgb(253, 236, 168)
- entity_picture: /local/icons/gardenlight_on.png
- state:
- - value: 'off'
- entity_picture: /local/icons/gardenlight_off.png
- aspect_ratio: 1/0.56
- show_entity_picture: true
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- img {
- width: 48% !important;
- }
- - type: custom:button-card
- entity: binary_sensor.garazs_kapu_sensor_garazs_kapu
- show_icon: true
- show_name: true
- tap_action:
- action: call-service
- service: switch.turn_on
- service_data:
- entity_id: switch.garazskapunyito
- icon: hass:garage
- entity_picture: /local/icons/garage_closed.png
- state:
- - value: 'on'
- icon: hass:garage-open
- entity_picture: /local/icons/garage_open.png
- color: rgb(255,0,0)
- - value: 'off'
- color: rgb(68,115,159)
- aspect_ratio: 1/0.56
- show_entity_picture: true
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- view_layout:
- column: 2
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: cover.chicken_coop_door_chicken_coop_door
- show_icon: true
- show_name: true
- name: Csikin-Lak Ajtó
- tap_action:
- action: call-service
- service: cover.toggle
- service_data:
- entity_id: cover.chicken_coop_door_chicken_coop_door
- entity_picture: /local/icons/chicken_running.png
- state:
- - value: open
- color: rgb(255,0,0)
- - value: closed
- color: rgb(68,115,159)
- entity_picture: /local/icons/chicken_sleeping.png
- show_state: false
- show_entity_picture: true
- aspect_ratio: 1/0.64
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- - show_name: true
- show_icon: true
- type: custom:button-card
- tap_action:
- action: toggle
- entity: switch.sonoff_1000c894a1
- show_entity_picture: true
- entity_picture: /local/icons/borhuto_off.png
- show_state: false
- icon: mdi:fridge-outline
- aspect_ratio: 1/0.64
- state:
- - value: 'on'
- color: rgb(68,115,159)
- entity_picture: /local/icons/borhuto_on.png
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- - show_name: true
- show_icon: true
- type: custom:button-card
- tap_action:
- action: toggle
- entity: switch.sonoff_1000c998c8
- aspect_ratio: 1/0.64
- icon: mdi:heating-coil
- show_entity_picture: true
- entity_picture: /local/icons/heater_off.png
- state:
- - value: 'on'
- color: rgb(68,115,159)
- entity_picture: /local/icons/heater_on.png
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- view_layout:
- column: 2
- - type: horizontal-stack
- cards:
- - type: entity
- entity: sensor.havi_aramfogyasztas
- icon: mdi:home-lightning-bolt
- name: Havi fogyasztás
- card_mod: null
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- - type: entity
- entity: sensor.havi_energia_koltseg
- state_color: false
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- view_layout:
- column: 3
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: person.daniel
- aspect_ratio: 1/1.02
- name: Person
- show_entity_picture: true
- show_name: false
- hold_action:
- action: none
- styles:
- card:
- - background-color: rgba(15,15,18,0.4)
- - border-radius: 5%
- - padding: 5%
- - font-size: 10px
- - text-shadow: 0px 0px 0px black
- - text-transform: capitalize
- - justify-self: end
- - align-self: middle
- grid:
- - grid-template-areas: '"icon icon" "n n" "battery status"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content min-content min-content
- name:
- - font-size: 15px
- - align-self: middle
- - justify-self: start
- - padding-bottom: 10px
- custom_fields:
- icon:
- - clip-path: circle()
- - width: 80%
- - pointer-events: none
- - display: grid
- - border: 5px solid
- - border-color: |-
- [[[
- if (states['binary_sensor.uptimekuma_dani_telefon'].state =='off') {
- return "#888888";
- } else {
- return "#00CC66";}
- ]]]
- - border-radius: 500px
- - margin: 0 +7% 0 0
- - justify-self: end
- - opacity: |-
- [[[
- if (states['binary_sensor.uptimekuma_dani_telefon'].state =='off') {
- return 0.5;
- } else {
- return 1;}
- ]]]
- status:
- - justify-self: end
- - color: white
- - margin-bottom: '-5px'
- - font-size: 15px
- battery:
- - margin-bottom: '-5px'
- - align-self: middle
- - justify-self: start
- - font-size: 15px
- - color: white
- - '--text-color-sensor': >-
- [[[ if (states["sensor.redmi_k20_pro_battery_level"].state
- < 20) return "#EF4F1A"; ]]]
- custom_fields:
- icon: >
- [[[ return entity === undefined ? null : `<img
- src="${states[entity.entity_id].attributes.entity_picture}"
- width="100%">`; ]]]
- status: |
- [[[
- if (states['binary_sensor.uptimekuma_dani_telefon'].state =='off') {
- return `<ha-icon icon="mdi:home-export-outline"
- style="width: 26px; height: 26px; margin: 0 5px 0 0; color: '#888888';">
- </ha-icon><span>Távol</span>`;
- }
- if (states['binary_sensor.uptimekuma_dani_telefon'].state =='on') {
- return `<ha-icon
- icon="mdi:home"
- style="width: 26px; height: 26px; margin: 0 5px 0 0; color: 888888;">
- </ha-icon><span>Itthon</span>`;
- } else {
- return `<ha-icon
- icon="mdi:map-marker-radius"
- style="width: 26px; height: 26px; margin: 0 5px 0 0; color: 888888;">
- </ha-icon><span>Ismeretlen</span>`;
- }
- ]]]
- battery: |
- [[[
- if (states['sensor.redmi_k20_pro_battery_state'].state =='charging') {
- return `<ha-icon
- icon="mdi:battery-charging"
- style="width: 24px; height: 24px; color: #fff;">
- </ha-icon> <span><span style="color: var(--text-color-sensor);">${states['sensor.redmi_k20_pro_battery_level'].state}%</span></span>`;
- } else {
- return `<ha-icon
- icon="mdi:battery"
- style="width: 24px; height: 24px; color: #fff;">
- </ha-icon> <span><span style="color: var(--text-color-sensor);">${states['sensor.redmi_k20_pro_battery_level'].state}%</span></span>`;
- }
- ]]]
- - type: custom:button-card
- entity: person.judit
- aspect_ratio: 1/1.02
- name: Person
- show_entity_picture: true
- show_name: false
- hold_action:
- action: none
- styles:
- card:
- - background-color: rgba(15,15,18,0.4)
- - border-radius: 5%
- - padding: 5%
- - color: gray
- - font-size: 10px
- - text-shadow: 0px 0px 0px black
- - text-transform: capitalize
- - justify-self: end
- - align-self: middle
- grid:
- - grid-template-areas: '"icon icon" "n n" "battery status"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content min-content min-content
- name:
- - font-size: 15px
- - align-self: middle
- - justify-self: start
- - padding-bottom: 10px
- custom_fields:
- icon:
- - clip-path: circle()
- - width: 80%
- - pointer-events: none
- - display: grid
- - border: 5px solid
- - border-color: |-
- [[[
- if (states['binary_sensor.uptimekuma_judit_telefon'].state =='off') {
- return "#888888";
- } else {
- return "#00CC66";}
- ]]]
- - border-radius: 500px
- - margin: 0 +7% 0 0
- - justify-self: end
- - opacity: |-
- [[[
- if (states['binary_sensor.uptimekuma_judit_telefon'].state =='off') {
- return 0.5;
- } else {
- return 1;}
- ]]]
- status:
- - justify-self: end
- - color: white
- - margin-bottom: '-5px'
- - font-size: 15px
- battery:
- - margin-bottom: '-5px'
- - align-self: middle
- - justify-self: start
- - font-size: 15px
- - color: white
- - '--text-color-sensor': >-
- [[[ if (states["sensor.sm_g970f_battery_level"].state <
- 20) return "#EF4F1A"; ]]]
- custom_fields:
- icon: >
- [[[ return entity === undefined ? null : `<img
- src="${states[entity.entity_id].attributes.entity_picture}"
- width="100%">`; ]]]
- status: |
- [[[
- if (states['binary_sensor.uptimekuma_judit_telefon'].state =='off') {
- return `<ha-icon icon="mdi:home-export-outline"
- style="width: 26px; height: 26px; margin: 0 5px 0 0; color: '#fff';">
- </ha-icon><span>Távol</span>`;
- }
- if (states['binary_sensor.uptimekuma_judit_telefon'].state =='on') {
- return `<ha-icon
- icon="mdi:home"
- style="width: 26px; height: 26px; margin: 0 5px 0 0; color: '#fff';">
- </ha-icon><span>Itthon</span>`;
- } else {
- return `<ha-icon
- icon="mdi:map-marker-radius"
- style="width: 26px; height: 26px; margin: 0 5px 0 0; color: '#fff';">
- </ha-icon><span>Ismeretlen</span>`;
- }
- ]]]
- battery: |
- [[[
- if (states['sensor.sm_g970f_battery_state'].state =='charging') {
- return `<ha-icon
- icon="mdi:battery-charging"
- style="width: 24px; height: 24px; color: #fff;">
- </ha-icon> <span><span style="color: var(--text-color-sensor);">${states['sensor.sm_g970f_battery_level'].state}%</span></span>`;
- } else {
- return `<ha-icon
- icon="mdi:battery"
- style="width: 24px; height: 24px; color: #fff;">
- </ha-icon> <span><span style="color: var(--text-color-sensor);">${states['sensor.sm_g970f_battery_level'].state}%</span></span>`;
- }
- ]]]
- view_layout:
- column: 1
- - type: vertical-stack
- cards:
- - type: custom:clock-weather-card
- entity: weather.tanya
- temperature_sensor: sensor.weatherstation_ws_homerseklet
- weather_icon_type: fill
- animated_icon: true
- forecast_days: 5
- locale: hu-HU
- time_format: 24
- date_pattern: P
- hide_today_section: false
- hide_forecast_section: false
- hide_clock: false
- hide_date: false
- card_mod:
- style: |
- clock-weather-card-today {
- margin-top: -23px;
- }
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- - type: iframe
- url: http://192.168.1.10/idokep/idokep.html
- aspect_ratio: 68%
- view_layout:
- column: 1
- - type: custom:atomic-calendar-revive
- entities:
- - calendar.csaladi
- - calendar.beko_judit_nora_gmail_com
- - calendar.holidays_in_united_arab_emirates
- - calendar.holidays_in_hungary
- enableModeChange: true
- firstDayOfWeek: 1
- maxDaysToShow: 8
- refreshInterval: 60
- name: Események
- hoursFormat: HH:mm
- showDate: true
- calShowDescription: false
- dateFormat: MM/DD dddd
- showRelativeTime: false
- showMultiDayEventParts: true
- showMultiDay: true
- showDatePerEvent: false
- showMonth: false
- showCurrentEventLine: false
- showWeekDay: true
- disableEventLink: false
- view_layout:
- column: 3
- card_mod:
- style: |
- .event-right {
- font-size: 1.2em;
- padding-left: 25px !important;
- }
- .event-left {
- font-size: 1.3em !important;
- }
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - show_name: false
- show_icon: true
- type: custom:button-card
- tap_action:
- action: toggle
- entity: vacuum.valetudo_oilymealymandrill
- icon_height: 80px
- entity_picture: /local/vacuum2.png
- show_entity_picture: true
- size: 200px
- styles:
- card:
- - background-color: rgba(15,15,18,0.4)
- - width: 147px
- - height: 130px
- - type: entities
- entities:
- - entity: sensor.valetudo_oilymealymandrill_error
- name: Hiba
- - entity: sensor.valetudo_oilymealymandrill_sensor_cleaning
- name: Tisztítás
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- #states {
- margin-top: 0px !important;
- }
- - type: horizontal-stack
- cards:
- - show_name: false
- show_icon: true
- type: custom:button-card
- tap_action:
- action: call-service
- service: vacuum.start
- service_data:
- device_id: 0d992d0dbbee57757abd45e79d1f2d04
- data: {}
- entity: vacuum.valetudo_oilymealymandrill
- name: Start
- icon: mdi:play
- styles:
- card:
- - background-color: rgba(15,15,18,0.4)
- - show_name: false
- show_icon: true
- type: custom:button-card
- tap_action:
- action: call-service
- service: vacuum.stop
- service_data:
- device_id: 0d992d0dbbee57757abd45e79d1f2d04
- data: {}
- entity: vacuum.valetudo_oilymealymandrill
- icon: mdi:stop
- name: Stop
- styles:
- card:
- - background-color: rgba(15,15,18,0.4)
- - show_name: false
- show_icon: true
- type: custom:button-card
- tap_action:
- action: call-service
- service: vacuum.return_to_base
- service_data:
- device_id: 0d992d0dbbee57757abd45e79d1f2d04
- data: {}
- entity: vacuum.valetudo_oilymealymandrill
- icon: mdi:home-export-outline
- name: Dock
- styles:
- card:
- - background-color: rgba(15,15,18,0.4)
- view_layout:
- column: 3
- - type: custom:mini-graph-card
- entities:
- - entity: sensor.weatherstation_ws_homerseklet
- name: Hőmérséklet
- show_state: true
- - entity: sensor.weatherstation_ws_paratartalom
- name: Páratartalom
- show_state: true
- - entity: sensor.weatherstation_ws_szelsebesseg
- name: Szélsebesség
- show_state: true
- upper_bound: 25
- name: Kinti időjárás
- icon: mdi:temperature-celsius
- hours_to_show: 48
- show:
- labels: false
- view_layout:
- column: 2
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- .states {
- padding: 0px 16px 0px;
- }
- .state__value.ellipsis {
- font-size: 3.3em;
- font-weight: 400;
- }
- - type: horizontal-stack
- cards:
- - type: custom:mini-graph-card
- entities:
- - entity: sensor.chicken_coop_door_csikin_lak_homerseklet
- name: Hőmérséklet
- show_state: true
- - entity: sensor.chicken_coop_door_csikin_lak_paratartalom
- name: Páratartalom
- show_state: true
- show_legend: false
- name: Csikin-Lak
- icon: mdi:temperature-celsius
- hours_to_show: 48
- points_per_hour: 1
- decimals: 1
- show:
- labels: false
- view_layout:
- column: 2
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- - type: custom:mini-graph-card
- entities:
- - entity: sensor.garazs_kapu_sensor_garazs_homerseklet
- name: Hőmérséklet
- show_state: true
- - entity: sensor.garazs_kapu_sensor_garazs_paratartalom
- name: Páratartalom
- show_state: true
- show_legend: false
- name: Garázs
- icon: mdi:temperature-celsius
- hours_to_show: 48
- points_per_hour: 1
- decimals: 1
- show:
- labels: false
- card_mod:
- style: |
- ha-card {
- --ha-card-background: rgba(15,15,18,0.4);
- }
- view_layout:
- column: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement