diff --git a/configuration.yaml b/configuration.yaml index 25ed019..d401733 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -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 diff --git a/lovelace/resources.yaml b/lovelace/resources.yaml index 80b6ef3..9e32808 100644 --- a/lovelace/resources.yaml +++ b/lovelace/resources.yaml @@ -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 diff --git a/lovelace/temperatures_card.yaml b/lovelace/temperatures_card.yaml index 44332df..cfc6a9a 100644 --- a/lovelace/temperatures_card.yaml +++ b/lovelace/temperatures_card.yaml @@ -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 diff --git a/lovelace/views/dashboard_view.yaml b/lovelace/views/dashboard_view.yaml index d520ec0..784714a 100644 --- a/lovelace/views/dashboard_view.yaml +++ b/lovelace/views/dashboard_view.yaml @@ -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/ diff --git a/lovelace/views/dev_view.yaml b/lovelace/views/dev_view.yaml index 1364a50..fdd9885 100644 --- a/lovelace/views/dev_view.yaml +++ b/lovelace/views/dev_view.yaml @@ -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: diff --git a/packages/mower.yaml.disabled b/packages/mower.yaml.disabled new file mode 100644 index 0000000..3ef26fb --- /dev/null +++ b/packages/mower.yaml.disabled @@ -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] }}"