Skip to content

Commit

Permalink
Oven: show operation state if there is no progress state
Browse files Browse the repository at this point in the history
  • Loading branch information
golles committed Dec 27, 2024
1 parent 7c03fea commit a3ab872
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/home_connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ template:
{% elif is_state("binary_sensor.384090532720002735_001_bsh_common_status_doorstate", "on") -%}
Deur open
{% elif is_state("sensor.384090532720002735_001_bsh_common_status_operationstate", "Loopt") -%}
{% if is_state("sensor.oven_resterende_minuten", "-1") -%}
{% if is_state("sensor.384090532720002735_001_bsh_common_option_programprogress", "unavailable") -%}
{{ states("sensor.384090532720002735_001_bsh_common_status_operationstate") }}
{% elif is_state("sensor.oven_resterende_minuten", "-1") -%}
{{ states("sensor.384090532720002735_001_bsh_common_option_programprogress") ~ "%" }}
{%- else -%}
{% set minuten = states("sensor.oven_resterende_minuten") %}
Expand Down

0 comments on commit a3ab872

Please sign in to comment.