fix(blueprints): fix home_connect_alt service call and correct sensor description

Two fixes in all 4 home_connect_alt blueprints:

1. home_connect_alt.start_program uses its own `device_id` field (not HA's
   standard target mechanism) and `program_key` (not `program`). The
   previous `target: entity_id:` was silently ignored, causing the service
   call to fail due to missing required `device_id`. Fixed by:
   - Removing `target: entity_id:` block
   - Adding `data.device_id: "{{ device_id(program_entity) }}"`
   - Renaming `program:` to `program_key:`
   - Adding `| int` filter to numeric option values

2. Same remote_start_sensor description fix as the non-alt variants
   (RemoteControlActive → RemoteControlStartAllowed).

Also reset blueprint version from v2.0.0 to v1.0.0.

Release-Notes: skip
Released-Bug: no
This commit is contained in:
Julian Pawlowski 2026-05-03 22:16:56 +00:00
parent 95d0278241
commit c2ff9cd2f2
4 changed files with 35 additions and 37 deletions

View file

@ -3,7 +3,7 @@ blueprint:
description: >
**Companion blueprint for
[Tibber Prices](https://my.home-assistant.io/redirect/hacs_repository/?owner=jpawlowski&repository=hass.tibber_prices&category=integration)
(HACS integration)** · Blueprint v2.0.0
(HACS integration)** · Blueprint v1.0.0
**Device-driven** dishwasher automation with electricity price
optimization using **Home Connect Alt**
@ -76,10 +76,10 @@ blueprint:
domain: binary_sensor
device_class: door
remote_start_sensor:
name: Remote Control Sensor
name: Remote Start Sensor
description: >
The "Remote Control Active" binary sensor
(e.g., `binary_sensor.dishwasher_remote_control_active`).
The "Remote Control Start Allowed" binary sensor
(e.g., `binary_sensor.dishwasher_bsh_common_status_remotecontrolstartallowed`).
Must be **on** for the automation to proceed.
selector:
entity:
@ -448,15 +448,15 @@ actions:
# Dishwashers use StartInRelative (seconds until program starts)
start_in_relative: >
{{ [0, ((_window_start - now()).total_seconds()) | int] | max }}
_device_id: "{{ device_id(program_entity) }}"
- action: home_connect_alt.start_program
target:
entity_id: "{{ program_entity }}"
data:
program: "{{ selected_program }}"
device_id: "{{ _device_id }}"
program_key: "{{ selected_program }}"
options:
- key: BSH.Common.Option.StartInRelative
value: "{{ start_in_relative }}"
value: "{{ start_in_relative | int }}"
- variables:
_n_title: "{{ title_planned }}"

View file

@ -3,7 +3,7 @@ blueprint:
description: >
**Companion blueprint for
[Tibber Prices](https://my.home-assistant.io/redirect/hacs_repository/?owner=jpawlowski&repository=hass.tibber_prices&category=integration)
(HACS integration)** · Blueprint v2.0.0
(HACS integration)** · Blueprint v1.0.0
**Device-driven** dryer automation with electricity price
optimization using **Home Connect Alt**
@ -85,10 +85,10 @@ blueprint:
domain: binary_sensor
device_class: door
remote_start_sensor:
name: Remote Control Sensor
name: Remote Start Sensor
description: >
The "Remote Control Active" binary sensor
(e.g., `binary_sensor.dryer_remote_control_active`).
The "Remote Control Start Allowed" binary sensor
(e.g., `binary_sensor.dryer_bsh_common_status_remotecontrolstartallowed`).
Must be **on** for the automation to proceed.
selector:
entity:
@ -451,15 +451,15 @@ actions:
{% set window_end = _window_start + timedelta(minutes=duration | int) %}
{% set seconds_until_end = ((window_end - now()).total_seconds()) | int %}
{{ [duration | int * 60, seconds_until_end] | max }}
_device_id: "{{ device_id(program_entity) }}"
- action: home_connect_alt.start_program
target:
entity_id: "{{ program_entity }}"
data:
program: "{{ selected_program }}"
device_id: "{{ _device_id }}"
program_key: "{{ selected_program }}"
options:
- key: BSH.Common.Option.FinishInRelative
value: "{{ finish_in_relative }}"
value: "{{ finish_in_relative | int }}"
- variables:
_n_title: "{{ title_planned }}"

View file

@ -3,7 +3,7 @@ blueprint:
description: >
**Companion blueprint for
[Tibber Prices](https://my.home-assistant.io/redirect/hacs_repository/?owner=jpawlowski&repository=hass.tibber_prices&category=integration)
(HACS integration)** · Blueprint v2.0.0
(HACS integration)** · Blueprint v1.0.0
**Device-driven** laundry pipeline — schedule multiple wash + dry
cycles at the cheapest electricity prices using **Home Connect Alt**
@ -93,9 +93,9 @@ blueprint:
domain: binary_sensor
device_class: door
washer_remote_start_sensor:
name: Remote Control Sensor
name: Remote Start Sensor
description: >
The "Remote Control Active" binary sensor.
The "Remote Control Start Allowed" binary sensor.
selector:
entity:
filter:
@ -162,9 +162,9 @@ blueprint:
domain: binary_sensor
device_class: door
dryer_remote_start_sensor:
name: Remote Control Sensor
name: Remote Start Sensor
description: >
The "Remote Control Active" binary sensor of the dryer.
The "Remote Control Start Allowed" binary sensor of the dryer.
Only used when "Include Dryer" is enabled.
default: ""
selector:
@ -730,13 +730,12 @@ actions:
{{ [washer_duration | int * 60, seconds_until_end] | max }}
- action: home_connect_alt.start_program
target:
entity_id: "{{ washer_program_entity }}"
data:
program: "{{ washer_program }}"
device_id: "{{ device_id(washer_program_entity) }}"
program_key: "{{ washer_program }}"
options:
- key: BSH.Common.Option.FinishInRelative
value: "{{ wash_finish_in_relative }}"
value: "{{ wash_finish_in_relative | int }}"
- variables:
_n_title: >
@ -1055,13 +1054,12 @@ actions:
{{ [dryer_duration | int * 60, seconds_until_end] | max }}
- action: home_connect_alt.start_program
target:
entity_id: "{{ dryer_program_entity }}"
data:
program: "{{ dryer_program }}"
device_id: "{{ device_id(dryer_program_entity) }}"
program_key: "{{ dryer_program }}"
options:
- key: BSH.Common.Option.FinishInRelative
value: "{{ dry_finish_in_relative }}"
value: "{{ dry_finish_in_relative | int }}"
- variables:
_n_title: >

View file

@ -3,7 +3,7 @@ blueprint:
description: >
**Companion blueprint for
[Tibber Prices](https://my.home-assistant.io/redirect/hacs_repository/?owner=jpawlowski&repository=hass.tibber_prices&category=integration)
(HACS integration)** · Blueprint v2.0.0
(HACS integration)** · Blueprint v1.0.0
**Device-driven** washing machine automation with electricity price
optimization using **Home Connect Alt**
@ -85,10 +85,10 @@ blueprint:
domain: binary_sensor
device_class: door
remote_start_sensor:
name: Remote Control Sensor
name: Remote Start Sensor
description: >
The "Remote Control Active" binary sensor
(e.g., `binary_sensor.washer_remote_control_active`).
The "Remote Control Start Allowed" binary sensor
(e.g., `binary_sensor.washer_bsh_common_status_remotecontrolstartallowed`).
Must be **on** for the automation to proceed.
selector:
entity:
@ -453,15 +453,15 @@ actions:
{% set window_end = _window_start + timedelta(minutes=duration | int) %}
{% set seconds_until_end = ((window_end - now()).total_seconds()) | int %}
{{ [duration | int * 60, seconds_until_end] | max }}
_device_id: "{{ device_id(program_entity) }}"
- action: home_connect_alt.start_program
target:
entity_id: "{{ program_entity }}"
data:
program: "{{ selected_program }}"
device_id: "{{ _device_id }}"
program_key: "{{ selected_program }}"
options:
- key: BSH.Common.Option.FinishInRelative
value: "{{ finish_in_relative }}"
value: "{{ finish_in_relative | int }}"
- variables:
_n_title: "{{ title_planned }}"