Various fixes

This commit is contained in:
Thomas Lovén 2019-08-05 13:40:07 +02:00
parent 7305d719ee
commit 739c2789bd
6 changed files with 56 additions and 1 deletions

View File

@ -29,4 +29,26 @@ http:
cloud:
stream:
python_script:
automation:
- alias: Hallampa på
initial_state: true
trigger:
platform: state
entity_id: binary_sensor.framdorr
to: "on"
condition:
condition: state
entity_id: switch.tod_dark
state: "on"
action:
- service: light.turn_on
entity_id: light.stora_hallen
browser_mod:
devices:
d94309ff-1b8be6a4:
name: hallen

View File

@ -12,6 +12,8 @@
type: js
- url: !file /local/lovelace-layout-card/layout-card.js
type: js
- url: !file /local/lovelace-useful-markdown-card/useful-markdown-card.js
type: module
# Specially modified by helto
# https://github.com/helto4real/hassio/tree/master/www/custom_cards

View File

@ -10,6 +10,7 @@ entities:
- sensor.vardagsrum_0
- sensor.temperatursensor_atelje_1_0
- sensor.elmatare_0
- sensor.badrum_temp
- type: section
label: Senaste veckan
- type: custom:hui-history-graph-card
@ -17,4 +18,5 @@ entities:
entities:
- sensor.vardagsrum_0
- sensor.temperatursensor_atelje_1_0
- sensor.elmatare_0
# - sensor.elmatare_0
- sensor.badrum_temp

View File

@ -87,6 +87,21 @@ cards:
max_width: 960
layout: vertical
cards:
- type: custom:useful-markdown-card
style: |
ha-card {
padding-top: 24px;
}
h1 {
text-align: center;
font-size: 6em;
}
h2 {
text-align: center;
}
content: |
# [[ sensor.time ]]
## [[ sensor.date ]]
- type: custom:weather-card
entity: weather.smhi_home
icons: /local/weather_icons/

View File

@ -8,6 +8,7 @@ cards:
cards:
- !include dev_card.yaml
- !include timeofday_card.yaml
- type: custom:browser-player
- !include local_services.hidden.yaml
- type: custom:auto-entities
card:

View File

@ -0,0 +1,13 @@
sensor:
- platform: tcp
name: mower_battery
host: 192.168.0.228
port: 23
payload: "?B"
unit_of_measurement: "mV"
- platform: tcp
name: mower_state
host: 192.168.0.228
port: 23
payload: "?M"
value_template: "{{ ['MOWING','LAUNCHING','DOCKING', 'CHARGING', 'LOOKING FOR BWF', 'SETUP', 'IDLE'][value|int] }}"