Hi everyone,
can you take a look over it?
I want to compare two objects.
So compare two different entities.
Thank you
- sensor:
- name: "Zimmerreinigung"
state: >
{% if is_state('sensor.xiaomi_cloud_map_extractor_vacuum_room', '16') %}
Gäste WC
{% elif is_state('sensor.xiaomi_cloud_map_extractor_vacuum_room', '17') %}
Vorratskammer
{% elif is_state('sensor.xiaomi_cloud_map_extractor_vacuum_room', '18') == is_state('sensor.xiaomi_vacuum_cleaner_status', 'Charging') %}
Laden
{% elif is_state('sensor.xiaomi_cloud_map_extractor_vacuum_room', '19') %}
Küche
{% elif is_state('sensor.xiaomi_cloud_map_extractor_vacuum_room', '20') %}
Küche Essbereich
{% elif is_state('sensor.xiaomi_cloud_map_extractor_vacuum_room', '21') %}
Wohnzimmer
{% elif is_state('sensor.xiaomi_cloud_map_extractor_vacuum_room', '22') %}
Wohnzimmer Essbereich
{% else %}
Flur
{% endif %}