Skip to content

Instantly share code, notes, and snippets.

@ggravlingen
Created June 24, 2018 06:51
Show Gist options
  • Save ggravlingen/95b8825b98d2578b36efc8ab325cabef to your computer and use it in GitHub Desktop.
Save ggravlingen/95b8825b98d2578b36efc8ab325cabef to your computer and use it in GitHub Desktop.
name: Patriks hem
views:
# The name of a view will be used as tab title.
# Might be used for other things in the future.
- name: Example
tab_icon: mdi:home-assistant
# Each view can have a different theme applied. Theme should be defined in the frontend.
# The cards to show on this view.
cards:
- type: entity-filter
filter:
- domain: device_tracker
state: 'home'
card: glance
card_config:
title: People at home
- type: glance
entities:
- light.hall
- light.kokstak
- light.sovrumstak
- light.vardagsrum
- light.laslampa
- type: weather-forecast
entity: weather.dark_sky
- type: entity-filter
filter: [{"domain": "sensor", "entity_id": "*pollen*", "state": "måttliga halter"},
{"domain": "sensor", "entity_id": "*pollen*", "state": "måttliga-höga halter"},
{"domain": "sensor", "entity_id": "*pollen*", "state": "höga halter"},
{"domain": "sensor", "entity_id": "*pollen*", "state": "mycket höga halter"}]
card: glance
card_config:
title: Pollen
- name: Media player
tab_icon: mdi:music-circle
cards:
- type: media-control
entity: media_player.tv
- type: media-control
entity: media_player.vardagsrum_chromecast
- name: Flower
tab_icon: mdi:flower
cards:
- type: plant-status
entity: plant.juvelorkide_vardagsrum
- type: plant-status
entity: plant.juvelorkide_sovrum
- type: plant-status
entity: plant.julblomma_kok
- tab_icon: mdi:settings
name: System
cards:
- type: entity-filter
filter: [{}]
card_config:
title: All entities
- tab_icon: mdi:monitor-multiple
name: System
cards:
- type: glance
entities:
- sensor.processor_use
- sensor.disk_used_home
- sensor.memory_free
- sensor.memory_use
- sensor.since_last_boot
- sensor.system_wifi_strength
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment