When PR #269 moved this to a separate sensor, the optional attribute got removed, leading to detection issues in #338.
@@ -138,6 +138,7 @@ secondary_entities:
- id: 16
type: integer
name: sensor
+ optional: true
unit: m2
mapping:
- scale: 10