Advertisement
energywave

Home Assistant - Sensori tecnici

Jan 19th, 2021
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.57 KB | None | 0 0
  1. sensor:
  2.   - platform: command_line
  3.     name: "Temperatura Raspberry Home Assistant"
  4.     command: 'cat /sys/class/thermal/thermal_zone0/temp'
  5.     unit_of_measurement: '°C'
  6.     value_template: '{{ value | multiply(0.001) | round(1)}}'
  7.   - platform: filesize    
  8.     file_paths:
  9.      - /config/home-assistant_v2.db
  10.   - platform: systemmonitor
  11.     resources:
  12.       - type: disk_use_percent
  13.         arg: /
  14.       - type: disk_free
  15.       - type: memory_use_percent
  16.       - type: swap_use_percent
  17.       - type: load_1m
  18.       - type: processor_use
  19.       - type: last_boot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement