mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Update README.md
This commit is contained in:
@@ -110,7 +110,7 @@ rest:
|
|||||||
value_template: '{{ value_json.data.smart_results[0].attrs["198"].raw_value }}'
|
value_template: '{{ value_json.data.smart_results[0].attrs["198"].raw_value }}'
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- name: "HDD - SMART Status"
|
- name: "HDD - SMART Status"
|
||||||
value_template: "{{ bool(value_json.data.smart_results[0].Status) }}"
|
value_template: "{{ 1 if value_json.data.smart_results[0].Status in [1, 2] else 0 }}"
|
||||||
device_class: problem
|
device_class: problem
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user