Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Zendure Manager
- description: ""
- triggers:
- - entity_id:
- - input_select.zendure_manager
- trigger: state
- id: "1"
- - trigger: time
- at: "15:00:00"
- id: "2"
- - trigger: state
- entity_id:
- - input_text.zendure_fout_met_nom_aansturing
- to: "1"
- id: "3"
- - trigger: state
- entity_id:
- - automation.zendure_worker
- to: "on"
- id: "4"
- - trigger: state
- entity_id:
- - automation.zendure_worker
- to: "off"
- id: "5"
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - trigger: time_pattern
- seconds: /15
- id: "6"
- conditions: []
- actions:
- - if:
- - condition: trigger
- id:
- - "1"
- alias: Wanneer Zendure Manager verandert van staat of een van de attributen
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Kalibreren
- then:
- - action: input_text.set_value
- metadata: {}
- data:
- value: "{{ states('input_select.zendure_manager') }}"
- target:
- entity_id: input_text.zendure_modus_onthouden
- alias: Zendure Modus Onthouden
- - alias: Wanneer Zendure Manager verandert nieuwe Modus uitvoeren
- if:
- - alias: Wanneer Zendure Manager verandert van staat of een van de attributen
- condition: trigger
- id:
- - "1"
- then:
- - action: automation.turn_off
- metadata: {}
- data:
- stop_actions: true
- target:
- entity_id: automation.zendure_worker
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- then:
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- then:
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- then:
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- then:
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Handmatig
- - condition: state
- entity_id: input_number.zendure_handmatig_vermogen
- state: "0"
- then:
- - action: input_number.set_value
- metadata: {}
- data:
- value: 0
- target:
- entity_id: input_number.zendure_handmatig_vermogen
- - alias: Als Zendure Manager gelijk is aan Standby
- if:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- then:
- - stop: Acties benodigd voor Standby Modus zijn allemaal uitgevoerd
- - alias: Als Zendure Manager gelijk is aan Kalibreren
- if:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Kalibreren
- then:
- - data:
- socSet: 1000
- action: rest_command.zendure_2400_ac_1_maximale_laadpercentage_instellen
- - data:
- socSet: 1000
- action: rest_command.zendure_2400_ac_2_maximale_laadpercentage_instellen
- - data:
- socSet: 1000
- action: rest_command.zendure_2400_ac_3_maximale_laadpercentage_instellen
- - wait_template: >-
- {{ is_state('sensor.zendure_2400_ac_1_maximale_laadpercentage',
- '100') and
- is_state('sensor.zendure_2400_ac_2_maximale_laadpercentage',
- '100') and
- is_state('sensor.zendure_2400_ac_3_maximale_laadpercentage',
- '100') }}
- continue_on_timeout: true
- timeout: "60"
- - action: automation.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: automation.zendure_worker
- - alias: Elke Zondag om 15:00 uur Zendure Manager instellen op Kalibreren
- if:
- - condition: trigger
- id:
- - "2"
- alias: Wanneer de tijd gelijk is aan 15:00
- - condition: time
- weekday:
- - sun
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Kalibreren
- then:
- - action: input_select.select_option
- metadata: {}
- data:
- option: Kalibreren
- target:
- entity_id: input_select.zendure_manager
- - alias: Wanneer Zendure Fout met NOM Aansturing en NOM is actief dan stoppen
- if:
- - alias: >-
- Wanneer Zendure Fout met NOM Aansturing verandert naar 1 of Wanneer
- Zendure Worker verandert naar Aan
- condition: trigger
- id:
- - "3"
- - "4"
- - condition: state
- entity_id: input_text.zendure_fout_met_nom_aansturing
- state: "1"
- - condition: or
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Nul op de Meter (NOM)
- - condition: state
- entity_id: input_select.zendure_manager
- state: NOM Alleen Opladen
- - condition: state
- entity_id: input_select.zendure_manager
- state: NOM Alleen Ontladen
- then:
- - action: automation.turn_off
- metadata: {}
- data:
- stop_actions: true
- target:
- entity_id: automation.zendure_worker
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- then:
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- then:
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- then:
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- then:
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_ontladen
- data: {}
- - stop: Fout met NOM Aansturing
- error: true
- - alias: >-
- Wanneer Zendure Fout met NOM Aansturing hersteld en NOM is actief dan
- starten
- if:
- - condition: trigger
- id:
- - "6"
- - condition: state
- entity_id: input_text.zendure_fout_met_nom_aansturing
- state: "1"
- - condition: template
- value_template: >-
- {{ (now().timestamp() -
- as_timestamp(states.sensor.p1_aansturing_api_v1.last_changed)) < 6 }}
- - condition: or
- conditions:
- - condition: template
- value_template: >-
- {{ (now().timestamp() -
- as_timestamp(states.sensor.zendure_2400_ac_1_3_vermogen_aansturing_api_v1.last_changed))
- < 6 }}
- - condition: template
- value_template: >-
- {{ (now().timestamp() -
- as_timestamp(states.sensor.zendure_2400_ac_1_voltage_aansturing_api_v1.last_changed))
- < 6 }}
- - condition: template
- value_template: >-
- {{ (now().timestamp() -
- as_timestamp(states.sensor.zendure_2400_ac_2_voltage_aansturing_api_v1.last_changed))
- < 6 }}
- - condition: template
- value_template: >-
- {{ (now().timestamp() -
- as_timestamp(states.sensor.zendure_2400_ac_3_voltage_aansturing_api_v1.last_changed))
- < 6 }}
- then:
- - action: input_text.set_value
- metadata: {}
- data:
- value: "0"
- target:
- entity_id: input_text.zendure_fout_met_nom_aansturing
- - if:
- - condition: or
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Nul op de Meter (NOM)
- - condition: state
- entity_id: input_select.zendure_manager
- state: NOM Alleen Opladen
- - condition: state
- entity_id: input_select.zendure_manager
- state: NOM Alleen Ontladen
- then:
- - action: automation.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: automation.zendure_worker
- - alias: >-
- Wanneer Zendure Worker verandert naar Uit gedurende 1:30 en ingestelde
- Modus heeft Zendure Worker nodig dan Zendure Worker Aanzetten
- if:
- - condition: trigger
- id:
- - "5"
- alias: Wanneer Zendure Worker verandert naar Uit gedurende 1:30
- - condition: state
- entity_id: input_text.zendure_ha_stop_of_herstart_wordt_uitgevoerd
- state: "0"
- - condition: state
- entity_id: input_text.zendure_fout_met_nom_aansturing
- state: "0"
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- then:
- - action: automation.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: automation.zendure_worker
- - alias: Wanneer opslag modus op Flash staat deze op RAM instellen
- if:
- - condition: trigger
- id:
- - "6"
- - condition: or
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in Flash
- then:
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in Flash
- then:
- - action: rest_command.zendure_2400_ac_1_opslaan_in_ram
- data: {}
- - action: rest_command.zendure_2400_ac_2_opslaan_in_ram
- data: {}
- - action: rest_command.zendure_2400_ac_3_opslaan_in_ram
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in RAM
- then:
- - action: rest_command.zendure_2400_ac_1_opslaan_in_ram
- data: {}
- - action: rest_command.zendure_2400_ac_2_opslaan_in_ram
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in RAM
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in Flash
- then:
- - action: rest_command.zendure_2400_ac_1_opslaan_in_ram
- data: {}
- - action: rest_command.zendure_2400_ac_3_opslaan_in_ram
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in RAM
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in Flash
- then:
- - action: rest_command.zendure_2400_ac_2_opslaan_in_ram
- data: {}
- - action: rest_command.zendure_2400_ac_3_opslaan_in_ram
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in RAM
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in RAM
- then:
- - action: rest_command.zendure_2400_ac_1_opslaan_in_ram
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in RAM
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in Flash
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in RAM
- then:
- - action: rest_command.zendure_2400_ac_2_opslaan_in_ram
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_opslagmodus
- state: Opslaan in RAM
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_opslagmodus
- state: Opslaan in RAM
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_opslagmodus
- state: Opslaan in Flash
- then:
- - action: rest_command.zendure_2400_ac_3_opslaan_in_ram
- data: {}
- - alias: >-
- Wanneer Minimale Laadpercentage niet op 10% en/of Maximale Laadpercentage
- niet op 90% staat deze instellen (tenzij Kalibreren)
- if:
- - condition: trigger
- id:
- - "6"
- - condition: or
- conditions:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_minimale_laadpercentage
- state: "10"
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_minimale_laadpercentage
- state: "10"
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_minimale_laadpercentage
- state: "10"
- - condition: and
- conditions:
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Kalibreren
- - condition: or
- conditions:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_maximale_laadpercentage
- state: "90"
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_maximale_laadpercentage
- state: "90"
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_maximale_laadpercentage
- state: "90"
- then:
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_minimale_laadpercentage
- state: "10"
- then:
- - data:
- minSoc: 100
- action: rest_command.zendure_2400_ac_1_minimale_laadpercentage_instellen
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_minimale_laadpercentage
- state: "10"
- then:
- - data:
- minSoc: 100
- action: rest_command.zendure_2400_ac_2_minimale_laadpercentage_instellen
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_minimale_laadpercentage
- state: "10"
- then:
- - data:
- minSoc: 100
- action: rest_command.zendure_2400_ac_3_minimale_laadpercentage_instellen
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Kalibreren
- then:
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_maximale_laadpercentage
- state: "90"
- then:
- - data:
- socSet: 900
- action: >-
- rest_command.zendure_2400_ac_1_maximale_laadpercentage_instellen
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_maximale_laadpercentage
- state: "90"
- then:
- - data:
- socSet: 900
- action: >-
- rest_command.zendure_2400_ac_2_maximale_laadpercentage_instellen
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_maximale_laadpercentage
- state: "90"
- then:
- - data:
- socSet: 900
- action: >-
- rest_command.zendure_2400_ac_3_maximale_laadpercentage_instellen
- - alias: Wanneer Modus Omvormers niet Synchroon detecteren en corrigeren
- if:
- - condition: trigger
- id:
- - "6"
- - condition: or
- conditions:
- - condition: and
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: and
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: and
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: and
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: and
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: and
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- then:
- - action: automation.turn_off
- metadata: {}
- data:
- stop_actions: true
- target:
- entity_id: automation.zendure_worker
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_ontladen
- data: {}
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_ontladen
- data: {}
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_ontladen
- data: {}
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_ontladen
- data: {}
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_oplaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_ontladen
- data: {}
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_ontladen
- data: {}
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_ontladen
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_3_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_opladen
- data: {}
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_opladen
- data: {}
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_2_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_opladen
- data: {}
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_opladen
- data: {}
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_modus
- state: Opladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_modus
- state: Ontladen
- for:
- hours: 0
- minutes: 1
- seconds: 30
- - condition: or
- conditions:
- - condition: numeric_state
- entity_id: sensor.zendure_2400_ac_1_ingesteld_ontlaadvermogen
- above: 0
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- for:
- hours: 0
- minutes: 1
- seconds: 30
- then:
- - action: rest_command.zendure_2400_ac_1_stoppen_modus_is_opladen
- data: {}
- - action: rest_command.zendure_2400_ac_2_stoppen_modus_is_opladen
- data: {}
- - action: rest_command.zendure_2400_ac_3_stoppen_modus_is_opladen
- data: {}
- - if:
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.zendure_manager
- state: Standby
- then:
- - action: automation.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: automation.zendure_worker
- - alias: Wanneer Led op Aan staat deze op Uit instellen
- if:
- - condition: trigger
- id:
- - "6"
- - condition: or
- conditions:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_led
- state: Aan
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_led
- state: Aan
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_led
- state: Aan
- then:
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_1_led
- state: Aan
- then:
- - action: rest_command.zendure_2400_ac_1_led_uit
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_2_led
- state: Aan
- then:
- - action: rest_command.zendure_2400_ac_2_led_uit
- data: {}
- - if:
- - condition: state
- entity_id: sensor.zendure_2400_ac_3_led
- state: Aan
- then:
- - action: rest_command.zendure_2400_ac_3_led_uit
- data: {}
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment