Cleanup & Add Deconz

Este commit está contenido en:
Florian Brinker 2019-01-17 21:08:21 +01:00
padre 4244d3813a
commit b48cb8b05e
Se han modificado 9 ficheros con 42 adiciones y 51 borrados

Ver fichero

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

Ver fichero

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

Ver fichero

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

Ver fichero

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

Ver fichero

@ -11,6 +11,12 @@ cards:
- sensor.attic_humidity - sensor.attic_humidity
- type: vertical-stack - type: vertical-stack
cards: 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 - type: map
aspect_ratio: 16:9 aspect_ratio: 16:9
default_zoom: 15 default_zoom: 15
@ -19,13 +25,4 @@ cards:
- type: glance - type: glance
title: Geräte title: Geräte
entities: entities:
- device_tracker.mobile_fb - 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

5
sensors/devices.yaml Archivo normal
Ver fichero

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

Ver fichero

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

Ver fichero

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

Ver fichero

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