Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium committed Jul 13, 2024
1 parent 8b3faf9 commit 0aba10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrutiny/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 0aba10f

Please sign in to comment.