ha dashboard
user_6343235
yaml
2 years ago
29 kB
26
Indexable
kiosk_mode:
non_admin_settings:
kiosk: true
ignore_entity_settings: true
background: center / cover no-repeat url('/local/backgr8.png')
views:
- title: TABLET 2
type: custom:grid-layout
icon: mdi:home-account
subview: false
theme: minimalist-mobile-tapbar
badges: []
cards:
- square: false
type: grid
cards:
- type: custom:digital-clock
size: 100
height: 100
card_mod:
style: |
ha-card
{background: transparent;
border_style: none;
font-size: 20px;
}
columns: 1
- type: horizontal-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-entity-card
entity: media_player.samsung
primary_info: none
secondary_info: name
tap_action:
action: toggle
layout: vertical
fill_container: false
name: Vardagsrum
hold_action:
action: navigate
navigation_path: /tablet-new/sam
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
- type: custom:mushroom-entity-card
entity: media_player.lg_webos_tv_nano756pr
layout: vertical
primary_info: none
secondary_info: name
tap_action:
action: toggle
name: Sovrum
hold_action:
action: navigate
navigation_path: /tablet-new/lg
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
- type: custom:mushroom-entity-card
entity: switch.ikea_socket_2_switch
tap_action:
action: toggle
secondary_info: name
primary_info: none
layout: vertical
icon: mdi:fan
name: AC
icon_type: icon
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
ha-state-icon {
animation: spin 1s linear infinite;
{% if is_state('switch.ikea_socket_2_switch', 'off') %}
animation: none;
{% endif %}
}
- type: custom:mushroom-entity-card
tap_action:
action: call-service
service: script.volym_hogtalare_20
target: {}
primary_info: none
secondary_info: name
layout: vertical
icon: mdi:speaker-wireless
entity: script.volym_hogtalare_20
name: Högtalare 50%
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
- square: false
type: grid
cards:
- type: custom:mushroom-entity-card
icon: mdi:lightbulb-multiple
entity: zone.akersberga
name: Lampor
layout: vertical
secondary_info: name
primary_info: none
fill_container: false
tap_action:
action: navigate
navigation_path: '#Lampor'
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
- type: vertical-stack
cards:
- type: custom:bubble-card
card_type: pop-up
hash: '#Lampor'
icon: mdi:lightbulb-multiple
entity: sun.sun
name: Lampor
- type: vertical-stack
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-light-card
entity: light.fonsterlampor_vardagsrum
show_brightness_control: true
icon_color: deep-orange
icon: mdi:window-closed-variant
secondary_info: none
show_color_temp_control: false
show_color_control: false
layout: horizontal
name: Fönster
primary_info: none
- type: custom:mushroom-light-card
entity: light.taklampa
show_brightness_control: true
icon_color: orange
name: 'Taklampa '
icon: mdi:lightbulb
secondary_info: none
layout: horizontal
primary_info: none
- type: custom:mushroom-light-card
show_brightness_control: true
icon_color: amber
name: Kök
icon: mdi:silverware-fork-knife
entity: light.takbelysning_kok
secondary_info: none
layout: horizontal
primary_info: none
- type: custom:mushroom-light-card
entity: light.deltaco_sovtak
show_brightness_control: true
icon_color: lime
name: Sovrum
icon: mdi:bed
secondary_info: none
use_light_color: false
show_color_control: false
collapsible_controls: false
show_color_temp_control: false
layout: horizontal
primary_info: none
hold_action:
action: more-info
- type: custom:mushroom-light-card
entity: light.lampa_badrum
show_brightness_control: true
show_color_temp_control: false
use_light_color: false
icon_color: yellow
secondary_info: none
name: Badrun
layout: horizontal
primary_info: none
icon: mdi:toilet
hold_action:
action: more-info
columns: 1
- type: custom:mushroom-entity-card
entity: sensor.lumi_lumi_weather_temperature
primary_info: state
layout: horizontal
name: Vardagsrum
secondary_info: name
fill_container: true
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
- type: custom:mushroom-entity-card
entity: sensor.lumi_lumi_weather_temperature_2
primary_info: state
layout: horizontal
name: Sovrum
secondary_info: name
fill_container: true
hold_action:
action: call-service
service: switch.toggle
target:
entity_id: switch.galaxy_tab_a8_kiosk_las
data: {}
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
- type: custom:mushroom-entity-card
entity: sensor.lumi_lumi_weather_temperature_3
name: Utomhus
layout: horizontal
fill_container: true
primary_info: state
secondary_info: name
card_mod:
style: |
ha-card
{height: 85px !important;
opacity: 90%;
}
- square: false
type: grid
cards:
- type: vertical-stack
cards:
- type: iframe
url: https://www.tickcounter.com/countdown/4420464/kanarieoarna
aspect_ratio: '2.5'
card_mod:
style: |
ha-card
{height: 115px;
border-radius: 50px;
}
- square: true
type: grid
cards:
- type: picture
image: /local/Gustav.png
theme: Mushroom
- type: custom:stack-in-card
cards:
- type: custom:stack-in-card
cards:
- square: false
columns: 1
type: grid
cards:
- type: custom:mushroom-entity-card
entity: device_tracker.cph2415
primary_info: state
secondary_info: last-changed
layout: horizontal
card_mod:
style: |
ha-card
{background: transparent;
border_style: none;
}
- type: custom:mushroom-entity-card
entity: sensor.gustav_battery_level
fill_container: false
primary_info: state
secondary_info: none
card_mod:
style: |
ha-card
{background: transparent;
border_style: none;
}
card_mod:
style: |
ha-card
{opacity: 90%
}
columns: 2
- square: true
type: grid
cards:
- type: picture
image: /local/Hanna.png
- type: custom:stack-in-card
cards:
- type: custom:stack-in-card
cards:
- square: false
columns: 1
type: grid
cards:
- type: custom:mushroom-entity-card
entity: device_tracker.iphone_4
primary_info: state
secondary_info: last-changed
layout: horizontal
card_mod:
style: |
ha-card
{background: transparent;
border_style: none;
}
- type: custom:mushroom-entity-card
entity: sensor.iphone_4_battery_level
fill_container: false
primary_info: state
secondary_info: none
card_mod:
style: |
ha-card
{background: transparent;
border_style: none;
}
card_mod:
style: |
ha-card
{opacity: 90%
}
columns: 2
- type: custom:stack-in-card
cards:
- type: custom:stack-in-card
cards:
- type: custom:mini-media-player
entity: media_player.music_for_the_shit_show
name: Musik
icon: mdi:music
artwork: cover
source: full
sound_mode: full
info: scroll
background: /local/spotify/music.jpg
shortcuts:
columns: 1
buttons:
- name: Lugna låtar
type: service
id: spotcast.start
data:
device_name: music for the shit show
uri: spotify:playlist:5kmSc6rD3Q2Wdm8TaYRY24
random_song: true
shuffle: true
volume_step: 1-100
max_volume: '100'
min_volume: '1'
scale: '0.9'
- type: custom:spotify-card
limit: 9
always_play_random_song: true
grid_covers_per_row: 3
account: default
spotify_entity: media_player.spotify_gurrasv
hide_warning: true
hide_top_header: true
hide_playback_controls: true
hide_connect_devices: true
hide_currently_playing: true
hide_chromecast_devices: null
display_style: grid
default_device: music for the shit show
card_mod:
style: |
ha-card
{background: transpmarent;
border_style: none;
height: 550px !important;
}
card_mod:
style: |
ha-card
{background: transpmarent;
border_style: none;
height: 560px !important;
opacity: 90%;
}
- type: custom:hasl-departure-card
header: false
departures: true
deviations: true
timeleft: true
updated: true
name: Departures
adjust_times: false
hide_departed: false
language: en-EN
replace:
- Hisingsängens vändplan (Jönköpings kn): Towards City
entities:
- sensor.rr_departure_sensor_740020192_hasl
view_layout:
column: 4
card_mod:
style: |
ha-card
{opacity: 90%;
border_style: none;
}
columns: 3
- title: LG
path: lg
type: custom:vertical-layout
theme: minimalist-mobile-tapbar
badges: []
cards:
- square: false
type: grid
cards:
- square: false
type: grid
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: navigate
navigation_path: /tablet-new
icon: mdi:arrow-left
- type: picture
tap_action:
action: call-service
service: script.netflix_lg_tv
target: {}
hold_action:
action: none
image: /local/netflixlogo.png
- type: picture
tap_action:
action: call-service
service: script.youtube_lg_tv
target: {}
hold_action:
action: none
image: /local/youtubelogo.png
- type: picture
tap_action:
action: call-service
service: script.viaplay_lg_tv
target: {}
hold_action:
action: none
image: /local/viaplaylogo2.png
columns: 4
- square: true
type: grid
cards:
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: media_player.lg_webos_tv_nano756pr
icon: mdi:power
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: script.up_lg_tv
icon: mdi:arrow-up
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: script.home_lg_tv
icon: mdi:home
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: script.left_lg_tv
icon: mdi:arrow-left
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: script.enter_lg_tv
icon: mdi:circle-outline
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: script.right_lg_tv
icon: mdi:arrow-right
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
icon: mdi:arrow-u-left-bottom
entity: script.back_lg_tv
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
entity: script.down_lg_tv
icon: mdi:arrow-down
- type: picture
tap_action:
action: none
hold_action:
action: none
image: /local/lglogo.png
columns: 3
- type: custom:mushroom-media-player-card
entity: media_player.lg_webos_tv_nano756pr
name: .
icon: mdi:volume-high
show_volume_level: true
volume_controls:
- volume_mute
- volume_set
- volume_buttons
use_media_info: false
media_controls: []
primary_info: none
collapsible_controls: true
card_mod:
style: |
mushroom-shape-icon {
{% set vol_level = state_attr(config.entity, 'volume_level') | float %}
--card-mod-icon:
{% if state_attr(config.entity, 'is_volume_muted') == true %}
mdi:volume-mute
{% else %}
{% if vol_level > 0.66 %}
mdi:volume-high
{% elif vol_level < 0.33 %}
mdi:volume-low
{% else %}
mdi:volume-medium
{% endif %}
{% endif %};
}
columns: 1
- title: SAM
path: sam
type: custom:vertical-layout
theme: minimalist-mobile-tapbar
badges: []
cards:
- square: false
type: grid
cards:
- square: false
type: grid
cards: []
columns: 1
- square: false
type: grid
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: navigate
navigation_path: /tablet-new
icon: mdi:arrow-left
- type: picture
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_type: app
media_content_id: '3201907018807'
hold_action:
action: none
image: /local/netflixlogo.png
- type: picture
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_type: app
media_content_id: '111299001912'
hold_action:
action: none
image: /local/youtubelogo.png
- type: picture
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_type: app
media_content_id: '11111300404'
hold_action:
action: none
image: /local/viaplaylogo2.png
- type: picture
tap_action:
action: call-service
service: script.sam_ps_4
target: {}
hold_action:
action: none
image: /local/pslogo2.jpg
columns: 5
- square: true
type: grid
cards:
- show_name: false
show_icon: true
type: button
tap_action:
action: toggle
icon: mdi:power
entity: media_player.samsung
show_state: false
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_id: KEY_UP
media_content_type: send_key
icon: mdi:arrow-up
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_type: send_key
media_content_id: KEY_HOME
icon: mdi:home
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_type: send_key
media_content_id: KEY_LEFT
icon: mdi:arrow-left
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id: media_player.samsung
data:
media_content_id: KEY_ENTER
media_content_type: send_key
icon: mdi:checkbox-blank-circle-outline
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_type: send_key
media_content_id: KEY_RIGHT
icon: mdi:arrow-right
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_id: KEY_RETURN
media_content_type: send_key
icon: mdi:arrow-u-left-bottom
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: media_player.play_media
target:
entity_id:
- media_player.samsung
data:
media_content_id: KEY_DOWN
media_content_type: send_key
icon: mdi:arrow-down
- type: picture
tap_action:
action: none
hold_action:
action: none
image: /local/samsunglogo.png
columns: 3
- type: custom:mushroom-media-player-card
entity: media_player.samsung
name: .
icon: mdi:volume-high
show_volume_level: true
volume_controls:
- volume_set
- volume_buttons
- volume_mute
use_media_info: true
media_controls: []
primary_info: none
collapsible_controls: true
card_mod:
style: |
mushroom-shape-icon {
{% set vol_level = state_attr(config.entity, 'volume_level') | float %}
--card-mod-icon:
{% if state_attr(config.entity, 'is_volume_muted') == true %}
mdi:volume-mute
{% else %}
{% if vol_level > 0.66 %}
mdi:volume-high
{% elif vol_level < 0.33 %}
mdi:volume-low
{% else %}
mdi:volume-medium
{% endif %}
{% endif %};
}
columns: 1
title: Tablet experimentalEditor is loading...