Hi, Can I change the decimal after the comma ? Sensor is a homewizard plug.
Greetings
Hi, Can I change the decimal after the comma ? Sensor is a homewizard plug.
Greetings
Hi, did is what use. but still still 3 after the decimal point
sensor:
I think you should rename the sensor to something else (like energysocket_3c39e72c391e_active_power_rounded
. Then pick that one.
Hi, have this error ?
sensor:
Greetings
Add a field unique_id with something random in your config.
sensor:
It seems you have removed that “_rounded” thing
sensor:
is this right ?
platform: template
sensors:
energysocket_3c39e72c391e_active_power_rounded:
unique_id: 3c39e72c391e
unit_of_measurement: W
friendly_name: smytangel
value_template: >
“{{ (states_attr(‘sensor.energysocket_3c39e72c391e_active_power’)) | round(1) }}”
Read the error message . I am not your debugger