Adopted deprecated YAML config change for command_line based entities.
This commit is contained in:
parent
a57178b5e1
commit
929d6b1830
@ -31,6 +31,7 @@ homeassistant:
|
||||
|
||||
# Additional sensors
|
||||
sensor: !include sensors.yaml
|
||||
command_line: !include commandline.yaml
|
||||
utility_meter: !include utility_meters.yaml
|
||||
|
||||
# MQTT sensors
|
||||
|
@ -3,12 +3,6 @@
|
||||
display_options:
|
||||
- 'time'
|
||||
- 'date'
|
||||
# Raspberry Pi CPU temp
|
||||
- platform: command_line
|
||||
name: "CPU Temp"
|
||||
command: "cat /sys/class/thermal/thermal_zone0/temp"
|
||||
unit_of_measurement: "°C"
|
||||
value_template: "{{ value | multiply(0.001) | round(1) }}"
|
||||
# Database size sensor
|
||||
- platform: sql
|
||||
db_url: !secret ha_recorder_dburl
|
||||
|
Loading…
Reference in New Issue
Block a user