Home Assistant Git Exporter

This commit is contained in:
root
2024-05-31 09:39:52 +02:00
parent cd6fa93633
commit d5ccfbb540
1353 changed files with 43876 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
- platform: template
sensors:
unraid_array_status:
friendly_name: UnRAID Array Status
value_template: >
{{state_attr("binary_sensor.tower_server", "arrayStatus")}}
unraid_array_space:
friendly_name: UnRAID Array Space
value_template: >
{% set state = state_attr("switch.tower_server", "diskSpace") %}
{{ Offline if state == None else state | regex_findall_index(".*\((\d+.?\d+) %\)") | float }}
unit_of_measurement: '%'