diff --git a/.HA_VERSION b/.HA_VERSION index 67add89..1bdb457 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2025.9.3 \ No newline at end of file +2025.10.4 \ No newline at end of file diff --git a/.ha_run.lock b/.ha_run.lock new file mode 100644 index 0000000..7433a4c --- /dev/null +++ b/.ha_run.lock @@ -0,0 +1 @@ +{"pid": 66, "version": 1, "ha_version": "2025.10.4", "start_ts": 1762128658.853587} \ No newline at end of file diff --git a/automations.yaml b/automations.yaml index 949d304..db54212 100644 --- a/automations.yaml +++ b/automations.yaml @@ -270,8 +270,8 @@ trigger: device for: hours: 0 - minutes: 1 - seconds: 0 + minutes: 0 + seconds: 48 conditions: [] actions: - action: input_boolean.turn_off diff --git a/blueprints/automation/homeassistant/copy_entity_state.yaml b/blueprints/automation/homeassistant/copy_entity_state.yaml new file mode 100644 index 0000000..da19704 --- /dev/null +++ b/blueprints/automation/homeassistant/copy_entity_state.yaml @@ -0,0 +1,63 @@ +blueprint: + name: copy-light-entity-state + description: Copy state from light entity to light entity + domain: automation + author: Tiziano Trabattoni + input: + source_entity: + name: Source Entity + description: Entity to copy state from + selector: + target: + entity: + domain: light + destination_entity: + name: Destination Entity + description: Entity to copy state to + selector: + target: + entity: + domain: light + +mode: queued +max_exceeded: silent + +variables: + src_entity: !input source_entity + dest_entity: !input destination_entity + +triggers: + - trigger: state + entity_id: !input source_entity + from: "off" + to: "on" + id: turn-light-on + - trigger: state + entity_id: !input source_entity + from: "on" + to: "off" + id: turn-light-off + +conditions: [] + +actions: + - choose: + - conditions: + - condition: trigger + id: + - turn-light-on + sequence: + - action: light.turn_on + target: !input destination_entity + data: + brightness_pct: 100 + + - conditions: + - condition: trigger + id: + - turn-light-off + sequence: + - action: light.turn_off + target: !input destination_entity + data: + brightness_pct: 0