Below is part of my configuration.yaml file (siplified version), and there are some glithches that I dont understand why they happen.
When I used “sensor weatherstation:” in stead of “sensor weather:” the values remained unknown and didn’t want to update. Is there a limit to the sensor name length ?
Then it also seemd to sometimes fail untill I updated my last sensor from “sensor:” to “sensor other:”. Since then, al sensors seem to update although not always in the time frame I would expect.
The manuals on the webiste are a bit vague (for a beginer like me at least), and all the info I find just uses 1 sensor entry. Can anyone point me in the right direction?
# ========== Sensor higrow ==========
sensor higrow:
- platform: mqtt
name: "Soil humidity"
state_topic: "higrow/terra"
value_template: "{{ value_json.soil.soil }}"
unit_of_measurement: "%"
icon: mdi:water-percent
- platform: mqtt
name: "Temperature"
state_topic: "higrow/terra"
value_template: "{{ value_json.temp.temp }}"
unit_of_measurement: "C"
icon: mdi:home-thermometer
# ========== END Sensor higrow ==========
# ========== Weather Station ==========
sensor weather:
- platform: mqtt
name: "Temperature"
state_topic: "weatherstation/temperature_outside"
unit_of_measurement: "°C"
device_class: temperature
- platform: mqtt
name: "Humidity"
state_topic: "weatherstation/humidity_outside"
unit_of_measurement: "%"
device_class: humidity
# ========== END Weather Station ==========
sensor other:
- platform: cpuspeed
name: CPU
- platform: systemmonitor
resources:
- type: memory_use_percent
- type: processor_temperature
- type: processor_use