First Commit

This commit is contained in:
root 2022-08-04 00:35:03 +02:00
commit 4f531bece4
11 changed files with 213 additions and 0 deletions

10
configuration.yaml Normal file
View File

@ -0,0 +1,10 @@
default_config:
homeassistant:
packages: !include_dir_named packages
frontend:
themes: !include_dir_merge_named themes

View File

@ -0,0 +1,30 @@
- type: "custom:button-card"
template: "card_welcome_scenes"
triggers_update: input_boolean.welcome_collapse
entity: input_boolean.welcome_collapse
variables:
ulm_card_welcome_scenes_collapse: input_boolean.welcome_collapse #OPTIONAl --> uncomment also entity or triggers_update
ulm_weather: weather.pirateweather
entity_1:
entity_id: light.office_switch_lamp
icon: "mdi:lightbulb" #OPTIONAL
name: Office
color: "blue"
- type: vertical-stack
cards:
- type: 'custom:valetudo-map-card'
vacuum: 'valetudo_kunibert'
title:
show_status: false
show_battery_level: false
show_start_button: false
show_pause_button: false
show_stop_button: false
show_home_button: false
show_locate_button: false
- type: 'custom:button-card'
template: "card_vacuum"
entity: 'vacuum.valetudo_kunibert'

59
lovelace/dashboard/lights.yaml Executable file
View File

@ -0,0 +1,59 @@
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: card_light
entity: light.office_bulb
variables:
ulm_card_light_enable_slider: true
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office
ulm_card_light_enable_collapse: true
ulm_card_light_enable_color: true
- type: "custom:button-card"
template: card_light
entity: light.bedroom_bulb_light
variables:
ulm_card_light_enable_slider: true
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Bedroom
ulm_card_light_enable_collapse: true
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_default
variables:
ulm_card_input_boolean_name: Adaptive
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_sleep_mode_default
variables:
ulm_card_input_boolean_name: Sleep
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: card_light
entity: light.office_switch_lamp
variables:
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office
- type: "custom:button-card"
template: card_light
entity: light.office_switch_lamp
variables:
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office
- type: "custom:button-card"
template: card_light
entity: light.office_switch_lamp
variables:
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office

View File

@ -0,0 +1,26 @@
homeassistant:
name: Home
latitude: !secret latitude
longitude: !secret longitude
elevation: !secret elevation
unit_system: metric
temperature_unit: C
time_zone: Europe/Berlin
allowlist_external_dirs:
- '/tmp'
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
- 172.30.33.1/32
- 172.30.32.0/24
- 192.168.1.0/24
- 192.168.2.0/24
- 192.168.3.0/24
lovelace:
mode: yaml
resources: !include ../../resources.yaml

View File

@ -0,0 +1,7 @@
recorder:
db_url: !secret db_url
auto_purge: true
purge_keep_days: 60
exclude:
entities:
- sensor.time

4
packages/light/adaptive.yaml Executable file
View File

@ -0,0 +1,4 @@
adaptive_lighting:
min_brightness: 30
lights:
- light.office_bulb

View File

@ -0,0 +1,13 @@
automation:
- alias: guestroom_light_button
trigger:
- device_id: c6b9d0a0f7a56e9f2966cdb8cb312614
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
entity_id: light.guestroom_switch_lamp
domain: light

View File

@ -0,0 +1,3 @@
input_boolean:
welcome_collapse:
name: welcome_collapse

4
packages/pirateweather.yaml Executable file
View File

@ -0,0 +1,4 @@
weather:
- platform: pirateweather
api_key: !secret pirate_weather_api
mode: daily

34
resources.yaml Executable file
View File

@ -0,0 +1,34 @@
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /hacsfiles/light-entity-card/light-entity-card.js
type: module
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/my-cards/my-slider.js
type: module
- url: /hacsfiles/my-cards/my-button.js
type: module
- url: /hacsfiles/simple-weather-card/simple-weather-card-bundle.js
type: module
- url: /hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module
- url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module
- url: /hacsfiles/lovelace-valetudo-map-card/valetudo-map-card.js
type: module
- url: /hacsfiles/lovelace-home-feed-card/lovelace-home-feed-card.js
type: module
- url: /hacsfiles/weather-card/weather-card.js
type: module
- url: /hacsfiles/lovelace-mushroom/mushroom.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module

23
ui-lovelace.yaml Executable file
View File

@ -0,0 +1,23 @@
---
button_card_templates: !include_dir_merge_named "custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/"
title: "Overview"
theme: "minimalist-desktop"
background: "var(--background-image)"
views:
- type: custom:vertical-layout
title: "Overview"
path: 0
cards:
- type: custom:vertical-layout
type: vertical-stack
cards:
!include lovelace/dashboard/hello_world.yaml
- type: custom:layout-break
- type: custom:vertical-layout
type: vertical-stack
cards:
!include lovelace/dashboard/lights.yaml