Ie.: does code like
customize_glob:
sensor.stromzaehler_*_momentanwirkleistung:
device_class: power
unit_of_measurement: 'W'
availability_template: >-
{{ states('sensor.stromzaehler_*_momentanwirkleistung') not in ['0', '0.0','0.0000']}}
work? Customizing entities - Home Assistant does not seem to be clear about that.