Created
December 3, 2022 15:24
-
-
Save misse/f7904d1ec5b723173392ec7c9de9552a to your computer and use it in GitHub Desktop.
blinking_hass.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
views: | |
- title: Home | |
cards: | |
- type: custom:room-card | |
title: Hall | |
entity: light.entrance_window | |
icon: mdi:lightbulb-outline | |
show_icon: true | |
tap_action: | |
action: toggle | |
entities: | |
- entity: light.entrance_window | |
name: Fönster | |
tap_action: | |
action: toggle | |
- entity: binary_sensor.hallway_tradfri_motion_sensor | |
name: Motion | |
show_icon: true | |
state_color: true | |
show_state: true | |
- type: custom:room-card | |
title: Kök | |
entity: light.kitchen | |
icon: mdi:lightbulb-outline | |
show_icon: true | |
tap_action: | |
action: toggle | |
entities: | |
- entity: light.kitchen_window_light | |
name: Fönster | |
tap_action: | |
action: toggle | |
- entity: sensor.freezer_freezer_temp | |
name: Frys | |
format: precision1 | |
icon: | |
conditions: | |
- condition: below | |
value: -18 | |
icon: mdi:fridge-industrial | |
styles: | |
color: green | |
transform: rotateY(180deg); | |
- condition: above | |
value: -18 | |
icon: mdi:fridge-industrial | |
styles: | |
color: red | |
transform: rotateY(180deg); | |
show_icon: true | |
show_value: true | |
show_name: true | |
show_state: true | |
- entity: sensor.refrigerator_fridge_temp | |
name: Kyl | |
format: precision1 | |
icon: | |
conditions: | |
- condition: below | |
value: 5 | |
icon: mdi:fridge-industrial | |
styles: | |
color: green | |
- condition: above | |
value: 5 | |
icon: mdi:fridge-industrial | |
styles: | |
color: red | |
show_icon: true | |
show_value: true | |
show_name: true | |
show_state: true | |
- type: custom:room-card | |
title: Hall | |
icon: mdi:wall-sconce-flat | |
show_icon: true | |
entity: light.lamp_overloop | |
tap_action: | |
action: toggle | |
info_entities: | |
- entity: binary_sensor.smoke_sensor | |
show_icon: true | |
- entity: binary_sensor.motion_sensor | |
show_icon: true | |
- sensor.motion_sensor_illuminance_2 | |
- sensor.motion_sensor_air_temperature_2 | |
- type: custom:room-card | |
title: Attic + Garden | |
entity: light.attic | |
icon: mdi:lightbulb-outline | |
show_icon: true | |
tap_action: | |
action: toggle | |
info_entities: | |
- entity: light.attic | |
icon: mdi:wall-sconce-flat | |
show_icon: true | |
tap_action: | |
action: toggle | |
- entity: light.garden | |
icon: mdi:outdoor-lamp | |
show_icon: true | |
tap_action: | |
action: toggle | |
- theme: Backend-selected | |
title: debug | |
path: debug | |
badges: [] | |
cards: | |
- type: custom:room-card | |
title: Vardagsrum | |
entity: light.living_room | |
icon: mdi:lightbulb-outline | |
show_icon: true | |
tap_action: | |
action: toggle | |
entities: | |
- entity: light.livingroom_couch_ceiling_lamp | |
name: Sofflampa | |
tap_action: | |
action: toggle | |
- entity: switch.livingroom_window_star | |
name: Stjärna | |
icon: mdi:star-outline | |
show_icon: true | |
state_color: true | |
tap_action: | |
action: toggle | |
- entity: switch.livingroom_corner_plug | |
name: Ledslinga | |
icon: mdi:led-strip | |
show_icon: true | |
state_color: true | |
- entity: media_player.living_room_tv | |
name: TV | |
show_icon: true | |
state_color: true | |
tap_action: | |
action: call-service | |
service: media_player.media_play_pause | |
service_data: | |
entity_id: media_player.living_room_tv | |
icon: | |
conditions: | |
- condition: equals | |
value: playing | |
icon: mdi:television-play | |
- condition: equals | |
value: paused | |
icon: mdi:television-pause | |
- condition: equals | |
value: stopped | |
icon: mdi:television | |
- entity: media_player.living_room_speaker | |
show_icon: true | |
state_color: true | |
icon: mdi:google-home | |
name: Speaker | |
cards: | |
- type: custom:mini-media-player | |
entity: media_player.living_room_tv | |
icon: null | |
show_states: | |
- playing | |
- paused | |
- type: custom:mini-media-player | |
entity: media_player.living_room_speaker | |
show_states: | |
- playing | |
- paused | |
- type: custom:mushroom-light-card | |
entity: light.livingroom_couch_ceiling_lamp | |
show_brightness_control: true | |
show_color_temp_control: true | |
show_states: | |
- 'on' | |
- type: custom:mushroom-light-card | |
entity: light.livingroom_couch_ceiling_lamp | |
fill_container: false | |
show_brightness_control: true | |
show_color_control: false | |
collapsible_controls: true | |
show_color_temp_control: true | |
- type: vertical-stack | |
cards: | |
- type: custom:mushroom-light-card | |
entity: light.livingroom_couch_ceiling_lamp | |
show_brightness_control: true | |
show_color_control: false | |
show_color_temp_control: true | |
collapsible_controls: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment