mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +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 }}'
|
||||
binary_sensor:
|
||||
- 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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user