Config extensions

- KNX consumption in W by template filter
- pool pump: runtime in h
This commit is contained in:
Martin Bauer
2019-07-07 17:31:38 +02:00
parent e6f5504181
commit 87e199e260
9 changed files with 371 additions and 29 deletions

View File

@@ -49,7 +49,7 @@ owntracks:
homekit:
name: BauerHome
name: !secret homekit_name
filter:
include_domains:
- scene
@@ -115,6 +115,23 @@ vacuum:
token: !secret vacuum_token
sensor:
- platform: history_stats
name: Pool Pumpe Heute
entity_id: switch.pool_pumpe
type: time
state: 'on'
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
end: '{{ now() }}'
- platform: history_stats
name: Pool Pumpe Gestern
entity_id: switch.pool_pumpe
type: time
state: 'on'
start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}'
end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml