Created
August 20, 2022 15:24
-
-
Save theundefined/5f233be79a3bb7b0ea6d4edbdbeaa6b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mqtt: | |
sensor: | |
- state_topic: "wmbusmeters/XXX" | |
name: Apator XXX | |
value_template: |- | |
{% if value_json["total_m3"] < 1000 %} | |
{{ value_json["total_m3"] }} | |
{% else %} | |
{{ states(entity_id) }} | |
{% endif %} | |
unit_of_measurement: 'm³' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment