diff --git a/custom_components/tibber_prices/blueprints/automation/tibber_prices/dishwasher_home_connect_alt.yaml b/custom_components/tibber_prices/blueprints/automation/tibber_prices/dishwasher_home_connect_alt.yaml index 019cf35..9b26f47 100644 --- a/custom_components/tibber_prices/blueprints/automation/tibber_prices/dishwasher_home_connect_alt.yaml +++ b/custom_components/tibber_prices/blueprints/automation/tibber_prices/dishwasher_home_connect_alt.yaml @@ -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 }}" diff --git a/custom_components/tibber_prices/blueprints/automation/tibber_prices/dryer_home_connect_alt.yaml b/custom_components/tibber_prices/blueprints/automation/tibber_prices/dryer_home_connect_alt.yaml index 29e77df..44e6629 100644 --- a/custom_components/tibber_prices/blueprints/automation/tibber_prices/dryer_home_connect_alt.yaml +++ b/custom_components/tibber_prices/blueprints/automation/tibber_prices/dryer_home_connect_alt.yaml @@ -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 }}" diff --git a/custom_components/tibber_prices/blueprints/automation/tibber_prices/laundry_day_pipeline_home_connect_alt.yaml b/custom_components/tibber_prices/blueprints/automation/tibber_prices/laundry_day_pipeline_home_connect_alt.yaml index 6136c37..09ee018 100644 --- a/custom_components/tibber_prices/blueprints/automation/tibber_prices/laundry_day_pipeline_home_connect_alt.yaml +++ b/custom_components/tibber_prices/blueprints/automation/tibber_prices/laundry_day_pipeline_home_connect_alt.yaml @@ -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: > diff --git a/custom_components/tibber_prices/blueprints/automation/tibber_prices/washing_machine_home_connect_alt.yaml b/custom_components/tibber_prices/blueprints/automation/tibber_prices/washing_machine_home_connect_alt.yaml index f9217eb..cea7eba 100644 --- a/custom_components/tibber_prices/blueprints/automation/tibber_prices/washing_machine_home_connect_alt.yaml +++ b/custom_components/tibber_prices/blueprints/automation/tibber_prices/washing_machine_home_connect_alt.yaml @@ -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 }}"