Cleanup & Add Deconz

This commit is contained in:
Florian Brinker 2019-01-17 21:08:21 +01:00
parent 4244d3813a
commit b48cb8b05e
9 changed files with 42 additions and 51 deletions

View File

@ -35,4 +35,7 @@
description: Harmony - SteamLink
switch.harmony_playstation:
name: Playstation
description: Harmony - Playstation
description: Harmony - Playstation
switch.harmony_denon_power:
name: Receiver
description: Harmony - Denon AVR

View File

@ -79,6 +79,10 @@ influxdb:
- sensor.instagram_mtb_follows
- sensor.instagram_mtb_media
deconz:
host: !secret deconz_ip
port: !secret deconz_port
map:
mqtt:

View File

@ -1,28 +1,22 @@
icon: mdi:cellphone-link
path: devices
cards:
- type: horizontal-stack
cards:
- type: entities
title: Handy Florian
show_header_toggle: false
entities:
- entity: device_tracker.mobile_fb
name: Standort
- entity: sensor.mobile_fb_battery
name: Akku
icon: mdi:battery
- entity: sensor.mobile_fb_callstate
name: Anrufstatus
- type: entities
title: Handy Jenny
show_header_toggle: false
entities:
- entity: device_tracker.mobile_fb
name: Standort
- entity: sensor.mobile_fb_battery
name: Akku
icon: mdi:battery
- entity: sensor.mobile_fb_callstate
name: Anrufstatus
- type: entities
title: Florian
show_header_toggle: false
entities:
- entity: device_tracker.mobile_fb
name: Standort
- entity: sensor.device_mobile_fb_battery
name: Handy-Akku
icon: mdi:battery
- type: entities
title: Jenny
show_header_toggle: false
entities:
- entity: device_tracker.mobile_fb
name: Standort
- entity: sensor.device_mobile_fb_battery
name: Handy-Akku
icon: mdi:battery

View File

@ -38,9 +38,9 @@ cards:
- type: picture-glance
title: Denon AVR
entities:
- entity: switch.harmony_mute
- entity: switch.harmony_denon_mute
icon: mdi:volume-off
- entity: switch.harmony_power
- entity: switch.harmony_denon_power
icon: mdi:power
image: /local/images/denon.jpg
state_image:

View File

@ -11,6 +11,12 @@ cards:
- sensor.attic_humidity
- type: vertical-stack
cards:
- type: entities
title: Nächste Bahn nach Münster
show_header_toggle: false
entities:
- entity: sensor.salzbergen_to_munster_hbf
name: Abfahrt
- type: map
aspect_ratio: 16:9
default_zoom: 15
@ -19,13 +25,4 @@ cards:
- type: glance
title: Geräte
entities:
- device_tracker.mobile_fb
- type: entities
title: Nächste Bahn nach Münster
show_header_toggle: false
entities:
- entity: sensor.salzbergen_to_munster_hbf
name: Abfahrt
- entity: sensor.salzbergen_to_munster_hbf_delay
name: Verspätung
- device_tracker.mobile_fb

5
sensors/devices.yaml Normal file
View File

@ -0,0 +1,5 @@
- platform: template
sensors:
device_mobile_fb_battery:
value_template: '{{ states.device_tracker.mobile_fb.attributes.battery }}'
unit_of_measurement: '%'

View File

@ -14,7 +14,5 @@
to: "Münster HBF"
- platform: template
sensors:
salzbergen_to_munster_hbf_delay:
value_template: '{{ states.sensor.salzbergen_to_munster_hbf.attributes.delay }}'
salzbergen_to_munster_hbf_ontime:
value_template: '{{ states.sensor.salzbergen_to_munster_hbf.attributes.ontime }}'

View File

@ -1,10 +0,0 @@
- platform: buienradar
monitored_conditions:
- temperature
- humidity
- windspeed
- winddirection
- precipitation
- condition
- conditionexact

View File

@ -52,7 +52,7 @@
entity_id: remote.livingroom_harmony
activity: 'PowerOff'
harmony_mute:
harmony_denon_mute:
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
turn_on:
service: remote.send_command
@ -71,7 +71,7 @@
device: 42849850 #Denon
delay_secs: 0.6
harmony_power:
harmony_denon_power:
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
turn_on:
service: remote.send_command