I am puzzled on this one.
I have 12 sensors I defined in config.yaml - everything is working fine.
The I tried to define a new sensor for the energy I am selling to the network.
It is coming also from Tasmota (same device providing the energy consumed and energy sold through 2 different mqtt values)
The “Check YAML” keeps warning that this is an invalid option…
→ I then tried to define the sensor using an helper… and its ok!
How can this be?
Accepted code in Config
mt1681_weekly_energy:
unique_id: "mt1681-weeky"
source: sensor.bitshake_smartmeterreader_mt681_total_in
name: From netz weekly
cron: "0 0 * * 7"
INVALID Option
mt1681_OutWeekly_energy:
source: sensor.bitshake_smartmeterreader_mt681_total_out
name: To netz weekly
cron: "0 0 * * 7"
unique_id: "mt1681-OutWeekly"
The sensor.bitshake_smartmeterreader_mt681_total_out is ok and I can access it as an entity
Any idea please