Is there a way to give the sensor a default value directly if the SQL query does not produce a result?
Example
name: foo_daily
query: >
query
column: "sum"
unit_of_measurement: "kWh"
device_class: energy
Iam missing a default value
Is there a way to give the sensor a default value directly if the SQL query does not produce a result?
Example
name: foo_daily
query: >
query
column: "sum"
unit_of_measurement: "kWh"
device_class: energy
Iam missing a default value