Untitled

mail@pastecode.io avatar
unknown
yaml
a year ago
568 B
14
Indexable
Never
# Temperatura CPU
sensor:
  - platform: command_line
    name: CPU Temperature
    unique_id: sensore_temperatura_cpu
    command: "cat /sys/class/thermal/thermal_zone1/temp"
    unit_of_measurement: "°C"
    value_template: '{{ value | multiply(0.001) | round(1) }}'
    
# System Monitor
  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /config
      - type: disk_use
      - type: disk_free
      - type: memory_use_percent
      - type: memory_use
      - type: memory_free
      - type: processor_use
      - type: last_boot