Nick24
21
I put in the line like below
value_template: '{% set cut = value.split('nvme-pci-0100')[1] %}
{{ (cut|regex_findall("Composite:\s*\+?(\-?[\d\.]*)°"))[0] }}'
& it doesn’t allow to put in configuration.yaml, come out error
bad indentation of a mapping entry (532:50)
532 | ... e: '{% set cut = value.split('nvme-pci-0100')[1] %}
------------------------------------------^
Troon
(Troon)
22
value_template: >
{% set cut = value.split('nvme-pci-0100')[1] %}
{{ (cut|regex_findall("Composite:\s*\+?(\-?[\d\.]*)°"))[0] }}
Nick24
23
just try, seem like same error
This entity is no longer being provided by the command_line integration. If the entity is no longer in use, delete it in settings.
Troon
(Troon)
24
I see you’ve added a unique_id
. See if you have a duplicate sensor with _2
on the end of the entity ID.