67 lines
50 KiB
JSON
67 lines
50 KiB
JSON
[
|
|
{
|
|
"id": "AC Steuerung",
|
|
"result": {
|
|
"structured": "TRIGGER: When AC schedule heating [schedule.ac_schedule_heizen] changes state OR When AC schedule cooling [schedule.ac_schedule_kuhlen] changes state OR When any of the following entities change state: AC use schedule [input_boolean.ac_schedule_verwenden], AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch], AC manual heating operation [input_boolean.ac_heizbetrieb_manuell], AC heating threshold temperature [input_number.ac_heizen_schwelltemperatur], AC smart mode [input_select.ac_smart_modus], AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan], AC pause active [input_boolean.ac_pause_aktiv] OR When any of the following entities change state: AC PV with battery [input_boolean.ac_pv_mit_batterie], PowerOcean battery state of charge [sensor.powerocean_bpsoc], AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt], AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich], AC PV battery threshold [input_number.ac_pv_batterie_schwellwert] OR When any of the following entities change state: AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen], AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen], Weather outside temperature [sensor.wetter_aussentemperatur], AC temperature buffer on [input_number.ac_temp_puffer_ein], AC temperature buffer off [input_number.ac_temp_puffer_aus]. CONDITIONS: AC pre-cooling bedroom active [input_boolean.ac_vorkuhlung_schlafzimmer_aktiv] is off AND AC pause active [input_boolean.ac_pause_aktiv] is off AND (IF trigger.id is 'smart_modus_pv' THEN AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' ELSE IF trigger.id is 'smart_modus_temp' THEN AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' ELSE true). ACTIONS: Choose based on heating mode: IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is off OR AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is off) THEN (Cooling/Off Branch): Choose based on conditions: IF (AC use schedule [input_boolean.ac_schedule_verwenden] is on OR AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on) AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= (AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen] - AC temperature buffer off [input_number.ac_temp_puffer_aus])) ) THEN (Turn off cooling): IF AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' THEN fire event 'ac_pv_block' with mode 'kuhlen' AND turn off all AC climate entities. IF AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' THEN IF any AC climate entity is not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated_temp' THEN send notification 'Anlage deaktiviert. Außentemperatur is kühl genug.' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated_temp' AND turn off all AC climate entities. ELSE IF ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule cooling [schedule.ac_schedule_kuhlen] is on AND (AC smart mode [input_select.ac_smart_modus] is 'Keine' OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= (AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen] + AC temperature buffer on [input_number.ac_temp_puffer_ein]))) ) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= (AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen] + AC temperature buffer on [input_number.ac_temp_puffer_ein])) ) ) ) THEN (Turn on cooling): IF any AC climate entity is off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'activated_cool' THEN send notification 'Wird aktiviert (Kühlbetrieb)' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'activated_cool' AND set all AC climate entities to cool mode with target temperature AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen]. ELSE (Default - Turn off): IF any AC climate entity is not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated' THEN send notification 'Wird deaktiviert (Zeitplan Ende).' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated' AND turn off all AC climate entities. ELSE IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is on OR AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is on) THEN (Heating/Off Branch): Choose based on conditions: IF (AC use schedule [input_boolean.ac_schedule_verwenden] is on OR AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on) AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= (AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen] + AC temperature buffer off [input_number.ac_temp_puffer_aus])) ) THEN (Turn off heating): IF AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' THEN fire event 'ac_pv_block' with mode 'heizen' AND turn off all AC climate entities. IF AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' THEN IF any AC climate entity is not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated_temp' THEN send notification 'Anlage deaktiviert. Außentemperatur is warm genug.' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated_temp' AND turn off all AC climate entities. ELSE IF ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule heating [schedule.ac_schedule_heizen] is on AND (AC smart mode [input_select.ac_smart_modus] is 'Keine' OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= (AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen] - AC temperature buffer on [input_number.ac_temp_puffer_ein]))) ) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= (AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen] - AC temperature buffer on [input_number.ac_temp_puffer_ein])) ) ) ) THEN (Turn on heating): IF any AC climate entity is off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'activated_heat' THEN send notification 'Wird aktiviert (Heizbetrieb)' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'activated_heat' AND set all AC climate entities to heat mode with target temperature AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen]. ELSE (Default - Turn off): IF any AC climate entity is not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated' THEN send notification 'Wird deaktiviert (Zeitplan Ende).' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated' AND turn off all AC climate entities.",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when the heating or cooling schedule changes, when any of the core AC settings (like schedule usage, heating mode, smart mode, or pause state) change, when PV-related settings (like battery status or switching permissions) change, or when temperature-related settings (like comfort temperatures or outside temperature) change.",
|
|
"conditions": "The automation only runs if the AC pre-cooling bedroom active [input_boolean.ac_vorkuhlung_schlafzimmer_aktiv] is turned off and the AC pause active [input_boolean.ac_pause_aktiv] is also off. Additionally, if the trigger originated from a change in PV-related entities, the AC smart mode [input_select.ac_smart_modus] must be set to 'PV-Abhängig'. If the trigger originated from a change in temperature-related entities, the smart mode must be 'Temperatur-Abhängig'. For other triggers, this condition is always true.",
|
|
"action": "The automation first checks the heating operation mode. If heating is not active (either automatic or manual heating is off), it evaluates conditions for cooling or turning the AC off. It will turn the AC system off if a schedule or smart control is active and either PV conditions require switching off or the outside temperature is cool enough. It will turn on cooling if a schedule is active and the cooling schedule is on, or if smart control without a schedule is active, and either no smart mode is selected, PV conditions allow switching on, or the outside temperature is high enough. Notifications are sent when the system state changes (activated, deactivated) to avoid duplicates. If heating is active (automatic or manual heating is on), a similar logic applies but for heating mode: turning off if conditions are met (PV off required or outside temperature warm enough) and turning on heating if the schedule or smart control conditions are satisfied. The target temperatures are set to the respective comfort temperatures. In all cases, the action controls multiple AC climate entities in different rooms."
|
|
},
|
|
"human_like": "This automation intelligently controls the home's air conditioning system, switching between heating, cooling, and off modes based on schedules, PV solar conditions, outside temperature, and user settings, while sending notifications for state changes.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "AC Steuerung",
|
|
"result": {
|
|
"structured": "TRIGGER: When AC schedule heating [schedule.ac_schedule_heizen] changes state OR When AC schedule cooling [schedule.ac_schedule_kuhlen] changes state OR When any of the following entities change state: AC use schedule [input_boolean.ac_schedule_verwenden], AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch], AC manual heating operation [input_boolean.ac_heizbetrieb_manuell], AC heating threshold temperature [input_number.ac_heizen_schwelltemperatur], AC smart mode [input_select.ac_smart_modus], AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan], AC pause active [input_boolean.ac_pause_aktiv] OR When any of the following entities change state: AC PV with battery [input_boolean.ac_pv_mit_batterie], PowerOcean battery state of charge [sensor.powerocean_bpsoc], AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt], AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich], AC PV battery threshold [input_number.ac_pv_batterie_schwellwert] OR When any of the following entities change state: AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen], AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen], Weather outside temperature [sensor.wetter_aussentemperatur], AC temperature buffer on [input_number.ac_temp_puffer_ein], AC temperature buffer off [input_number.ac_temp_puffer_aus]. CONDITIONS: (AC pre-cooling bedroom active [input_boolean.ac_vorkuhlung_schlafzimmer_aktiv] is off) AND (AC pause active [input_boolean.ac_pause_aktiv] is off) AND (IF the trigger ID is 'smart_modus_pv' THEN AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' ELSE IF the trigger ID is 'smart_modus_temp' THEN AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' ELSE true). ACTIONS: First, define a list of climate devices to control (climate_targets) which includes AC hobby room [climate.ac_hobbyraum], AC storage room [climate.ac_abstellraum], AC kitchen [climate.ac_kuche], AC bedroom [climate.ac_schlafzimmer], AC living room [climate.ac_wohnzimmer] but excludes any where the corresponding manual switch (e.g., AC manual hobby room [input_boolean.ac_manuell_hobbyraum]) is on. Then, based on the current mode: IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is off AND AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is off) THEN evaluate cooling logic: IF (AC use schedule [input_boolean.ac_schedule_verwenden] is on OR AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on) AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= (AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen] - AC temperature buffer off [input_number.ac_temp_puffer_aus])) ) THEN turn off climate_targets (with specific event or notification for PV or temperature mode). ELSE IF ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule cooling [schedule.ac_schedule_kuhlen] is on AND (AC smart mode [input_select.ac_smart_modus] is 'Keine' OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= (AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen] + AC temperature buffer on [input_number.ac_temp_puffer_ein]))) ) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= (AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen] + AC temperature buffer on [input_number.ac_temp_puffer_ein])) ) ) ) THEN set climate_targets to cool mode at AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen] (with notification if devices were off). ELSE turn off climate_targets (with notification if devices were on). ELSE IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is on OR AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is on) THEN evaluate heating logic with analogous conditions using AC schedule heating [schedule.ac_schedule_heizen], AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen], and temperature comparisons for heating (Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen] - AC temperature buffer on [input_number.ac_temp_puffer_ein] to turn on, and >= AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen] + AC temperature buffer off [input_number.ac_temp_puffer_aus] to turn off).",
|
|
"natural_language": {
|
|
"trigger": "The automation is triggered by changes to the heating or cooling schedules, changes to general AC settings like schedule usage, heating mode, smart mode, or pause status, changes to PV-related sensors and settings like battery state and switching permissions, or changes to temperature-related settings like comfort temperatures and outside temperature.",
|
|
"conditions": "The automation only runs if the pre-cooling function for the bedroom is not active and the system-wide pause is not active. Additionally, if the trigger was a change to PV-specific settings, the smart mode must be set to 'PV-Abhängig'. If the trigger was a change to temperature-specific settings, the smart mode must be 'Temperatur-Abhängig'. For other triggers, this condition is always true.",
|
|
"action": "The automation first determines which climate devices (AC hobby room, AC storage room, AC kitchen, AC bedroom, AC living room) are not in manual mode and should be controlled. It then decides whether to turn cooling, heating, or turn off the system based on a complex set of rules. The decision depends on whether the heating mode is active (automatic or manual) or not. It considers the schedule status, the selected smart mode ('Keine', 'PV-Abhängig', or 'Temperatur-Abhängig'), and external factors like PV system permission or outside temperature compared to comfort levels with buffers. Notifications are sent to mobile phones when the system state changes (activated, deactivated) to keep the user informed. The system is turned off if the schedule ends, if PV conditions require it, or if the outside temperature is comfortable enough without AC intervention."
|
|
},
|
|
"human_like": "This automation intelligently controls the home's air conditioning system, deciding when to heat, cool, or turn off based on schedules, smart modes (PV or temperature-dependent), manual overrides, and room occupancy settings.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "AC Steuerung",
|
|
"result": {
|
|
"structured": "TRIGGER: When AC schedule heating [schedule.ac_schedule_heizen] changes state OR When AC schedule cooling [schedule.ac_schedule_kuhlen] changes state OR When any of the following entities change state: AC use schedule [input_boolean.ac_schedule_verwenden], AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch], AC manual heating operation [input_boolean.ac_heizbetrieb_manuell], AC heating threshold temperature [input_number.ac_heizen_schwelltemperatur], AC smart mode [input_select.ac_smart_modus], AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan], AC pause active [input_boolean.ac_pause_aktiv] OR When any of the following entities change state: AC PV with battery [input_boolean.ac_pv_mit_batterie], PowerOcean battery state of charge [sensor.powerocean_bpsoc], AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt], AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich], AC PV battery threshold [input_number.ac_pv_batterie_schwellwert] OR When any of the following entities change state: AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen], AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen], Weather outside temperature [sensor.wetter_aussentemperatur], AC temperature buffer on [input_number.ac_temp_puffer_ein], AC temperature buffer off [input_number.ac_temp_puffer_aus]. CONDITIONS: AC pre-cooling bedroom active [input_boolean.ac_vorkuhlung_schlafzimmer_aktiv] is off AND AC pause active [input_boolean.ac_pause_aktiv] is off AND (IF trigger.id is 'smart_modus_pv' THEN AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' ELSE IF trigger.id is 'smart_modus_temp' THEN AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' ELSE true). ACTIONS: First, define a list of climate devices (AC hobby room [climate.ac_hobbyraum], AC storage room [climate.ac_abstellraum], AC kitchen [climate.ac_kuche], AC bedroom [climate.ac_schlafzimmer], AC living room [climate.ac_wohnzimmer]) and a map to their manual override switches. Create a variable 'climate_targets' containing only climate devices whose manual switch (e.g., AC manual hobby room [input_boolean.ac_manuell_hobbyraum]) is off. Then, based on the heating mode: IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is off OR AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is off) THEN (Cooling Mode Branch): IF (AC use schedule [input_boolean.ac_schedule_verwenden] is on OR AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on) AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature cooling with buffer out [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_aus]) ) THEN (Deactivate Cooling): IF AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' THEN fire event 'ac_pv_block' with mode 'kuhlen' AND turn off all climate_targets. ELSE IF AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' THEN IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated_temp' THEN send notification 'Anlage deaktiviert. Außentemperatur is kühl genug.' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated_temp'. THEN turn off all climate_targets. ELSE IF ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule cooling [schedule.ac_schedule_kuhlen] is on AND (AC smart mode [input_select.ac_smart_modus] is 'Keine' OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature cooling with buffer in [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_ein])) ) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature cooling with buffer in [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_ein]) ) ) ) THEN (Activate Cooling): IF any climate_targets are off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'activated_cool' THEN send notification 'Wird aktiviert (Kühlbetrieb)' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'activated_cool'. THEN set all climate_targets to HVAC mode 'cool' AND set their temperature to AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen]. ELSE (Default Deactivation): IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated' THEN send notification 'Wird deaktiviert (Zeitplan Ende).' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated'. THEN turn off all climate_targets. ELSE IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is on OR AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is on) THEN (Heating Mode Branch): IF (AC use schedule [input_boolean.ac_schedule_verwenden] is on OR AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on) AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature heating with buffer out [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_aus]) ) THEN (Deactivate Heating): IF AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' THEN fire event 'ac_pv_block' with mode 'heizen' AND turn off all climate_targets. ELSE IF AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' THEN IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated_temp' THEN send notification 'Anlage deaktiviert. Außentemperatur is warm genug.' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated_temp'. THEN turn off all climate_targets. ELSE IF ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule heating [schedule.ac_schedule_heizen] is on AND (AC smart mode [input_select.ac_smart_modus] is 'Keine' OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature heating with buffer in [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_ein])) ) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature heating with buffer in [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_ein]) ) ) ) THEN (Activate Heating): IF any climate_targets are off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'activated_heat' THEN send notification 'Wird aktiviert (Heizbetrieb)' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'activated_heat'. THEN set all climate_targets to HVAC mode 'heat' AND set their temperature to AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen]. ELSE (Default Deactivation): IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated' THEN send notification 'Wird deaktiviert.' AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated'. THEN turn off all climate_targets.",
|
|
"natural_language": {
|
|
"trigger": "The automation runs when any of several schedules or settings change. This includes the heating or cooling schedule turning on or off, changes to the main control settings (like whether to use the schedule, the heating mode, the smart mode, or if a pause is active), changes to PV-related settings (like battery level or permission to switch), or changes to temperature-related settings (like comfort temperatures or the outside temperature).",
|
|
"conditions": "Two conditions must always be true: the pre-cooling function for the bedroom must be off, and the system-wide pause must be inactive. Additionally, if the trigger was specifically a change in the PV-related settings, the smart mode must be set to 'PV-Abhängig' for the automation to proceed down that logic path. Similarly, if the trigger was a change in temperature-related settings, the smart mode must be 'Temperatur-Abhängig'. For other triggers, this condition is always true.",
|
|
"action": "The automation first determines which air conditioning units (ACs) in the hobby room, storage room, kitchen, bedroom, and living room are not in manual override mode. It then decides whether to heat or cool based on whether automatic or manual heating is active. For cooling, it checks if conditions are met to deactivate (e.g., PV power is insufficient or it's cool enough outside) or activate (e.g., schedule is on, PV power is available, or it's hot enough). For heating, it performs similar checks based on opposite temperature thresholds. When activating or deactivating, it may send a notification to mobile phones to inform of the status change and then either turns the units off or sets them to the correct mode (cool or heat) with the desired comfort temperature."
|
|
},
|
|
"human_like": "This automation intelligently controls the home's air conditioning system, deciding when to heat or cool based on schedules, outside temperature, solar power availability, and manual overrides.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "AC Steuerung",
|
|
"result": {
|
|
"structured": "TRIGGER: When AC schedule heating [schedule.ac_schedule_heizen] changes state OR When AC schedule cooling [schedule.ac_schedule_kuhlen] changes state OR When any of the following entities change state: AC use schedule [input_boolean.ac_schedule_verwenden], AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch], AC manual heating operation [input_boolean.ac_heizbetrieb_manuell], AC heating threshold temperature [input_number.ac_heizen_schwelltemperatur], AC smart mode [input_select.ac_smart_modus], AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan], AC pause active [input_boolean.ac_pause_aktiv] OR When any of the following entities change state: AC PV with battery [input_boolean.ac_pv_mit_batterie], PowerOcean battery state of charge [sensor.powerocean_bpsoc], AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt], AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich], AC PV battery threshold [input_number.ac_pv_batterie_schwellwert] OR When any of the following entities change state: AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen], AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen], Weather outside temperature [sensor.wetter_aussentemperatur], AC temperature buffer on [input_number.ac_temp_puffer_ein], AC temperature buffer off [input_number.ac_temp_puffer_aus]. CONDITIONS: AC pre-cooling bedroom active [input_boolean.ac_vorkuhlung_schlafzimmer_aktiv] is off AND AC pause active [input_boolean.ac_pause_aktiv] is off AND (IF the trigger ID is 'smart_modus_pv' THEN AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' ELSE IF the trigger ID is 'smart_modus_temp' THEN AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' ELSE true). ACTIONS: First, define a list of climate devices (AC hobby room [climate.ac_hobbyraum], AC storage room [climate.ac_abstellraum], AC kitchen [climate.ac_kuche], AC bedroom [climate.ac_schlafzimmer], AC living room [climate.ac_wohnzimmer]) and a map to their manual override switches. Then, create a list of climate_targets containing only the climate devices whose manual switch is off. Then, choose between two main branches based on heating operation status. Branch 1: IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is off) OR (AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is off) THEN (this is the cooling branch). Within this branch, choose: IF (AC use schedule [input_boolean.ac_schedule_verwenden] is on) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on) AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature cooling with buffer out [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_aus]) ) THEN (this is a deactivation condition). Within this deactivation, choose: IF AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' THEN fire event 'ac_pv_block' with mode 'kuhlen' AND turn off the climate_targets. IF AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' THEN IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated_temp' THEN send a notification that the AC is deactivated because the outside temperature is cool enough AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated_temp'. THEN turn off the climate_targets. ELSE IF ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule cooling [schedule.ac_schedule_kuhlen] is on AND (AC smart mode [input_select.ac_smart_modus] is 'Keine' OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature cooling with buffer in [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_ein]) ) ) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature cooling with buffer in [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_ein]) ) ) ) THEN (this is an activation condition). Within this activation, IF any climate_targets are off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'activated_cool' THEN send a notification that the AC is being activated in cooling mode with a reason based on the smart mode (PV surplus, outside temperature, or schedule) AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'activated_cool'. THEN set the HVAC mode of climate_targets to 'cool' AND set their temperature to AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen]. ELSE (default case for cooling branch): IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated' THEN send a notification that the AC is being deactivated (schedule end) AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated'. THEN turn off the climate_targets. Branch 2: IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is on) OR (AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is on) THEN (this is the heating branch). Within this branch, choose: IF (AC use schedule [input_boolean.ac_schedule_verwenden] is on) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on) AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature heating with buffer out [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_aus]) ) THEN (this is a deactivation condition). Within this deactivation, choose: IF AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' THEN fire event 'ac_pv_block' with mode 'heizen' AND turn off the climate_targets. IF AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' THEN IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated_temp' THEN send a notification that the AC is deactivated because the outside temperature is warm enough AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated_temp'. THEN turn off the climate_targets. ELSE IF ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule heating [schedule.ac_schedule_heizen] is on AND (AC smart mode [input_select.ac_smart_modus] is 'Keine' OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature heating with buffer in [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_ein]) ) ) OR (AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on AND ( (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature heating with buffer in [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_ein]) ) ) ) THEN (this is an activation condition). Within this activation, IF any climate_targets are off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'activated_heat' THEN send a notification that the AC is being activated in heating mode with a reason based on the smart mode (PV surplus, outside temperature, or schedule) AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'activated_heat'. THEN set the HVAC mode of climate_targets to 'heat' AND set their temperature to AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen]. ELSE (default case for heating branch): IF any climate_targets are not off AND AC last notification status [input_text.ac_letzter_benachrichtigungs_status] is not 'deactivated' THEN send a notification that the AC is being deactivated (with a reason based on the trigger) AND set AC last notification status [input_text.ac_letzter_benachrichtigungs_status] to 'deactivated'. THEN turn off the climate_targets.",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when any of the following changes occur: the AC heating schedule [schedule.ac_schedule_heizen] changes, the AC cooling schedule [schedule.ac_schedule_kuhlen] changes, any of the main control settings (like AC use schedule [input_boolean.ac_schedule_verwenden], AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch], AC manual heating operation [input_boolean.ac_heizbetrieb_manuell], AC heating threshold temperature [input_number.ac_heizen_schwelltemperatur], AC smart mode [input_select.ac_smart_modus], AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan], or AC pause active [input_boolean.ac_pause_aktiv]) change, any of the PV-related settings (like AC PV with battery [input_boolean.ac_pv_mit_batterie], PowerOcean battery state of charge [sensor.powerocean_bpsoc], AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt], AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich], or AC PV battery threshold [input_number.ac_pv_batterie_schwellwert]) change, or any of the temperature-related settings (like AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen], AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen], Weather outside temperature [sensor.wetter_aussentemperatur], AC temperature buffer on [input_number.ac_temp_puffer_ein], or AC temperature buffer off [input_number.ac_temp_puffer_aus]) change.",
|
|
"conditions": "The automation only runs if the AC pre-cooling bedroom active [input_boolean.ac_vorkuhlung_schlafzimmer_aktiv] is turned off and the AC pause active [input_boolean.ac_pause_aktiv] is also turned off. Additionally, if the trigger was a change in the PV-related settings, the AC smart mode [input_select.ac_smart_modus] must be set to 'PV-Abhängig'. If the trigger was a change in the temperature-related settings, the AC smart mode must be set to 'Temperatur-Abhängig'. For all other triggers, this condition is always true.",
|
|
"action": "The automation first determines which climate devices (AC hobby room [climate.ac_hobbyraum], AC storage room [climate.ac_abstellraum], AC kitchen [climate.ac_kuche], AC bedroom [climate.ac_schlafzimmer], AC living room [climate.ac_wohnzimmer]) are not under manual control (i.e., their corresponding manual switch is off). It then decides whether to activate cooling, activate heating, or deactivate the system based on a complex set of rules. The decision depends on whether the heating operation is active, the schedule status, the selected smart mode (None, PV-dependent, or Temperature-dependent), and the current conditions (like outside temperature or PV surplus). If conditions are met for activation, it turns the relevant climate devices to the appropriate mode (cool or heat), sets the target temperature, and may send a notification explaining the reason (e.g., PV surplus, outside temperature, or schedule). If conditions are met for deactivation, it turns the climate devices off and may send a notification. Notifications are only sent if the status has changed since the last notification to avoid spamming."
|
|
},
|
|
"human_like": "This automation intelligently controls the heating and cooling of multiple rooms based on schedules, smart modes (PV or temperature-dependent), and manual overrides, sending notifications for major status changes.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "AC Steuerung",
|
|
"result": {
|
|
"structured": "TRIGGER: When AC schedule heating [schedule.ac_schedule_heizen] changes state OR When AC schedule cooling [schedule.ac_schedule_kuhlen] changes state OR When any of the following entities change state: AC use schedule [input_boolean.ac_schedule_verwenden], AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch], AC manual heating operation [input_boolean.ac_heizbetrieb_manuell], AC heating threshold temperature [input_number.ac_heizen_schwelltemperatur], AC smart mode [input_select.ac_smart_modus], AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan], AC pause active [input_boolean.ac_pause_aktiv] OR When any of the following entities change state: AC PV with battery [input_boolean.ac_pv_mit_batterie], PowerOcean battery state of charge [sensor.powerocean_bpsoc], AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt], AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich], AC PV battery threshold [input_number.ac_pv_batterie_schwellwert] OR When any of the following entities change state: AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen], AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen], Weather outside temperature [sensor.wetter_aussentemperatur], AC comfort temperature cooling with buffer in [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_ein], AC comfort temperature cooling with buffer out [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_aus], AC comfort temperature heating with buffer in [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_ein], AC comfort temperature heating with buffer out [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_aus]. CONDITIONS: AC pre-cooling bedroom active [input_boolean.ac_vorkuhlung_schlafzimmer_aktiv] is off AND AC pause active [input_boolean.ac_pause_aktiv] is off AND (IF the trigger is 'smart_modus_pv' THEN AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' ELSE IF the trigger is 'smart_modus_temp' THEN AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' ELSE true). ACTIONS: First, define variables: a list of all climate entities and a mapping for manual override switches. Then, calculate a list of target climate entities (climate_targets) by filtering out any climate whose corresponding manual override switch is on. Then, execute a conditional action: IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is off OR AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is off) THEN (this is the cooling/heating-off branch). Within this branch, choose: IF ( ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule cooling [schedule.ac_schedule_kuhlen] is on) OR AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on ) AND ( (AC smart mode [input_select.ac_smart_modus] is 'Keine') OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND (Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature cooling with buffer in [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_ein] OR (at least one target climate is in 'cool' mode AND Weather outside temperature [sensor.wetter_aussentemperatur] > AC comfort temperature cooling with buffer out [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_aus]) ) ) ) ) THEN: If any target climate is off and the last notification status is not 'activated_cool', send a mobile notification and update the status. Then set all target climates to 'cool' mode with the temperature from AC comfort temperature cooling [input_number.ac_wohlfuhltemperatur_kuhlen]. ELSE IF ( ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule cooling [schedule.ac_schedule_kuhlen] is off) OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature cooling with buffer out [sensor.ac_wohlfuhltemperatur_kuhlen_mit_puffer_aus]) ) ) THEN: If any target climate is not off and the last notification status is not 'deactivated', send a mobile notification and update the status. Then turn off all target climates. ELSE (this is the heating branch): IF (AC automatic heating operation [binary_sensor.ac_heizbetrieb_automatisch] is on OR AC manual heating operation [input_boolean.ac_heizbetrieb_manuell] is on) THEN. Within this branch, choose: IF ( ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule heating [schedule.ac_schedule_heizen] is on) OR AC smart control without schedule [input_boolean.ac_smart_steuerung_ohne_zeitplan] is on ) AND ( (AC smart mode [input_select.ac_smart_modus] is 'Keine') OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching on allowed [binary_sensor.ac_pv_einschalten_erlaubt] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND (Weather outside temperature [sensor.wetter_aussentemperatur] <= AC comfort temperature heating with buffer in [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_ein] OR (at least one target climate is in 'heat' mode AND Weather outside temperature [sensor.wetter_aussentemperatur] < AC comfort temperature heating with buffer out [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_aus]) ) ) ) ) THEN: If any target climate is off and the last notification status is not 'activated_heat', send a mobile notification and update the status. Then set all target climates to 'heat' mode with the temperature from AC comfort temperature heating [input_number.ac_wohlfuhltemperatur_heizen]. ELSE IF ( ( (AC use schedule [input_boolean.ac_schedule_verwenden] is on AND AC schedule heating [schedule.ac_schedule_heizen] is off) OR (AC smart mode [input_select.ac_smart_modus] is 'PV-Abhängig' AND AC PV switching off required [binary_sensor.ac_pv_ausschalten_erforderlich] is on) OR (AC smart mode [input_select.ac_smart_modus] is 'Temperatur-Abhängig' AND Weather outside temperature [sensor.wetter_aussentemperatur] >= AC comfort temperature heating with buffer out [sensor.ac_wohlfuhltemperatur_heizen_mit_puffer_aus]) ) ) THEN: If any target climate is not off and the last notification status is not 'deactivated', send a mobile notification and update the status. Then turn off all target climates.",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when any of several groups of entities change state. This includes changes to the heating or cooling schedules, changes to general AC settings like whether to use the schedule, heating mode, or smart mode, changes to PV-related settings like battery level and switching permissions, or changes to temperature settings and the outside weather sensor.",
|
|
"conditions": "Two conditions must always be true: the pre-cooling function for the bedroom must be off, and the system-wide pause must be off. Additionally, if the trigger was specifically from the PV-related sensor group, the smart mode must be set to 'PV-Abhängig'. If the trigger was from the temperature-related sensor group, the smart mode must be 'Temperatur-Abhängig'. Triggers from other groups do not have this extra restriction.",
|
|
"action": "The automation first determines which climate devices (AC units in various rooms) are eligible for automatic control by checking if their manual override switch is off. It then decides whether to manage cooling or heating based on whether automatic or manual heating operation is active. For cooling (when heating is not active), it checks if cooling should be activated based on the schedule or smart control being enabled, combined with conditions from the selected smart mode ('None', 'PV-dependent', or 'Temperature-dependent'). If conditions are met, it sends a notification if needed, sets the target climates to cooling mode, and sets the temperature. If conditions indicate cooling should stop, it sends a notification if needed and turns the climates off. For heating (when automatic or manual heating is active), a similar logic applies: it checks if heating should be activated based on schedule or smart control and the smart mode conditions. If met, it notifies, sets to heat mode, and sets the temperature. If conditions indicate heating should stop, it notifies and turns the climates off."
|
|
},
|
|
"human_like": "This automation intelligently controls the home's air conditioning system, automatically switching between heating and cooling modes based on schedules, PV solar power availability, outside temperature, and user settings, while sending notifications for major state changes.",
|
|
"complexity": "high"
|
|
}
|
|
}
|
|
] |