This commit is contained in:
Florian Brinker 2021-08-28 21:22:30 +02:00
parent 10c34b84f1
commit 0a34ce21a2
8 changed files with 104 additions and 86 deletions

View File

@ -54,6 +54,9 @@
- sensor.instagram_codedwithlove_follows - sensor.instagram_codedwithlove_follows
- sensor.instagram_codedwithlove_media - sensor.instagram_codedwithlove_media
# TikTok # TikTok
- sensor.tiktok_beauty - sensor.tiktok_unwissend_schoen
- sensor.tiktok_beauty_hearts - sensor.tiktok_unwissend_schoen_hearts
- sensor.tiktok_beauty_videos - sensor.tiktok_unwissend_schoen_videos
- sensor.tiktok_astax
- sensor.tiktok_astax_hearts
- sensor.tiktok_astax_videos

View File

@ -220,23 +220,41 @@
force_update: true force_update: true
# TikTok # TikTok
# beauty
- platform: rest - platform: rest
scan_interval: 300 scan_interval: 300
name: tiktok_beauty name: tiktok_unwissend_schoen
resource: !secret tiktok_beauty resource: !secret tiktok_unwissend_schoen
value_template: '{{ value_json.data.userInfo.stats.followerCount }}' value_template: '{{ value_json.stats.followerCount }}'
unit_of_measurement: Followers unit_of_measurement: Followers
force_update: true force_update: true
- platform: rest - platform: rest
scan_interval: 300 scan_interval: 300
name: tiktok_beauty_hearts name: tiktok_unwissend_schoen_hearts
resource: !secret tiktok_beauty resource: !secret tiktok_unwissend_schoen
value_template: '{{ value_json.data.userInfo.stats.heartCount }}' value_template: '{{ value_json.stats.heartCount }}'
force_update: true force_update: true
- platform: rest - platform: rest
scan_interval: 300 scan_interval: 300
name: tiktok_beauty_videos name: tiktok_unwissend_schoen_videos
resource: !secret tiktok_beauty resource: !secret tiktok_unwissend_schoen
value_template: '{{ value_json.data.userInfo.stats.videoCount }}' value_template: '{{ value_json.stats.videoCount }}'
force_update: true
- platform: rest
scan_interval: 300
name: tiktok_astax
resource: !secret tiktok_astax
value_template: '{{ value_json.stats.followerCount }}'
unit_of_measurement: Followers
force_update: true
- platform: rest
scan_interval: 300
name: tiktok_astax_hearts
resource: !secret tiktok_astax
value_template: '{{ value_json.stats.heartCount }}'
force_update: true
- platform: rest
scan_interval: 300
name: tiktok_astax_videos
resource: !secret tiktok_astax
value_template: '{{ value_json.stats.videoCount }}'
force_update: true force_update: true

View File

@ -1,6 +1,6 @@
# - platform: command_line - platform: command_line
# name: Wallboard HDMI Status name: Wallboard HDMI Status
# command: !secret wallboard_hdmi_status_cmd command: !secret wallboard_hdmi_status_cmd
# payload_on: display_power=1 payload_on: display_power=1
# payload_off: display_power=0 payload_off: display_power=0
# scan_interval: 60 scan_interval: 60

View File

@ -1,9 +1,9 @@
#- platform: template - platform: template
# switches: switches:
# wallboard_display: wallboard_display:
# friendly_name: Wallboard Display Toggle friendly_name: Wallboard Display Toggle
# value_template: "{{ is_state('binary_sensor.wallboard_hdmi_status', 'on') }}" value_template: "{{ is_state('binary_sensor.wallboard_hdmi_status', 'on') }}"
# turn_on: turn_on:
# service: script.wallboard_hdmi_on service: script.wallboard_hdmi_on
# turn_off: turn_off:
# service: script.wallboard_hdmi_off service: script.wallboard_hdmi_off

View File

@ -2,6 +2,34 @@ title: Übersicht
path: overview path: overview
icon: "mdi:tablet-dashboard" icon: "mdi:tablet-dashboard"
cards: cards:
- type: vertical-stack
cards:
- type: custom:weather-card
name: Wetter
entity: weather.openweathermap
icons: "/local/lovelace/custom/weather-card/icons/"
# - type: iframe
# url: !secret iframe_windy
# aspect_ratio: 75%
# - type: iframe
# url: !secret iframe_earth
# aspect_ratio: 75%
- type: conditional
conditions:
- entity: binary_sensor.workday_sensor
state: "on"
- entity: binary_sensor.morning
state: "on"
card:
type: entities
title: Nächste Bahn nach Münster
show_header_toggle: false
entities:
- entity: sensor.salzbergen_to_munster_hbf
name: Abfahrt
- type: custom:battery-state-card - type: custom:battery-state-card
title: "Batterie Warnung" title: "Batterie Warnung"
sort_by_level: "asc" sort_by_level: "asc"
@ -26,48 +54,14 @@ cards:
- name: attributes.friendly_name # require a friendly_name - name: attributes.friendly_name # require a friendly_name
operator: "=" operator: "="
value: value:
- name: attributes.friendly_name
operator: "matches"
value: "/vibration/i" # is almost empty but unused, not important here in this view
bulk_rename: bulk_rename:
- from: "Batterie" - from: "Batterie"
- from: "Battery" - from: "Battery"
- from: "Power" - from: "Power"
- type: conditional
conditions:
- entity: binary_sensor.openclose_10
state: "on"
card:
type: entities
title: Offene Fenster
show_header_toggle: false
entities:
- entity: binary_sensor.openclose_10
name: Elternbad
icon: mdi:window-open
- type: vertical-stack
cards:
- type: custom:weather-card
name: Wetter
entity: weather.openweathermap
icons: "/local/lovelace/custom/weather-card/icons/"
# - type: iframe
# url: !secret iframe_windy
# aspect_ratio: 75%
# - type: iframe
# url: !secret iframe_earth
# aspect_ratio: 75%
- type: conditional
conditions:
- entity: binary_sensor.workday_sensor
state: "on"
- entity: binary_sensor.morning
state: "on"
card:
type: entities
title: Nächste Bahn nach Münster
show_header_toggle: false
entities:
- entity: sensor.salzbergen_to_munster_hbf
name: Abfahrt
- type: vertical-stack - type: vertical-stack
cards: cards:
- type: glance - type: glance

View File

@ -5,7 +5,7 @@ cards:
# Dobby # Dobby
- type: 'custom:vacuum-card' - type: 'custom:vacuum-card'
entity: vacuum.dobby entity: vacuum.dobby
map: camera.deebot_dobby_live_map map: camera.dobby_livemap
stats: stats:
default: default:
- entity_id: sensor.dobby_heap - entity_id: sensor.dobby_heap

View File

@ -31,6 +31,7 @@ sun:
stream: stream:
system_health: system_health:
updater: updater:
shopping_list:
http: http:
ip_ban_enabled: true ip_ban_enabled: true
@ -42,9 +43,6 @@ http:
# traefik.web # traefik.web
- 172.19.0.0/24 - 172.19.0.0/24
frontend:
themes: !include_dir_merge_named themes/
lovelace: lovelace:
mode: yaml mode: yaml
resources: resources:
@ -112,16 +110,26 @@ person:
- device_tracker.pixely - device_tracker.pixely
zone: zone:
- name: !secret work_name_f - name: !secret work_f_name
latitude: !secret work_lat_f latitude: !secret work_f_lat
longitude: !secret work_long_f longitude: !secret work_f_lng
radius: 250 radius: 250
icon: mdi:briefcase icon: mdi:briefcase
- name: !secret work_name_j - name: !secret work_j_name
latitude: !secret work_lat_j latitude: !secret work_j_lat
longitude: !secret work_long_j longitude: !secret work_j_lng
radius: 500 radius: 500
icon: mdi:briefcase icon: mdi:briefcase
- name: !secret shopping_1_name
latitude: !secret shopping_1_lat
longitude: !secret shopping_1_lng
radius: 250
icon: fas:shopping-basket
- name: !secret shopping_2_name
latitude: !secret shopping_2_lat
longitude: !secret shopping_2_lng
radius: 250
icon: fas:shopping-basket
ffmpeg: ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg ffmpeg_bin: /usr/bin/ffmpeg
@ -188,17 +196,6 @@ spotify:
client_id: !secret spotify_client_id client_id: !secret spotify_client_id
client_secret: !secret spotify_client_secret client_secret: !secret spotify_client_secret
deebot:
username: !secret ecovacs_user
password: !secret ecovacs_password
country: de
continent: eu
deviceid:
- !secret ecovacs_serial_dobby
live_map: true
show_color_rooms: true
livemappath: 'www/vacuums/'
fontawesome: fontawesome:
regular: regular:
solid: solid:
@ -208,6 +205,9 @@ fontawesome:
alexa: !include config/alexa.yaml alexa: !include config/alexa.yaml
google_assistant: !include config/google_assistant.yaml google_assistant: !include config/google_assistant.yaml
frontend:
themes: !include_dir_merge_named themes/
alert: !include_dir_merge_named config/alerts/ alert: !include_dir_merge_named config/alerts/
automation: !include_dir_merge_list config/automations/ automation: !include_dir_merge_list config/automations/
binary_sensor: !include_dir_merge_list config/sensors_binary/ binary_sensor: !include_dir_merge_list config/sensors_binary/

3
customize.yaml Normal file
View File

@ -0,0 +1,3 @@
sensor.landroid_hans_dieter_battery:
friendly_name: Hans-Dieter Batterie
device_class: battery