Heating Control Panel
This was inspired by a GitHub issue to control heating; https://github.com/OliveTin/OliveTin/issues/73
Entity file
To build this, we use an entity file that stores and updates the status of a heater outside of OliveTin.
/etc/OliveTin/entities/heating.yaml
- title: Main heater
temperature: 20 degrees
Configuration
Then use the following configuration file;
config.yaml
logLevel: "INFO"
actions:
- title: Turn heating up
icon: '🔼'
shell: /opt/heating.sh up
- title: Turn heating down
icon: '🔽'
shell: /opt/heating.sh down
entities:
- file: /etc/OliveTin/entities/heating.yaml
name: heating
dashboards:
- title: Heating Control Panel
contents:
- title: "{{ heater.title }}"
entity: heating
type: fieldset
contents:
- type: display
title: |
<span class = "icon">🌡</span> <br />{{ heating.temperature }}
- title: Turn heating up
- title: Turn heating down