RobHofmann/HomeAssistant-GreeClimateComponent

How to check in codition state of AC?

Closed this issue · 6 comments

Dears,

I spend some time to checking in Automatization HVAC mode or the state of AC (is off or on) but without any results. Please tell me what I did write wrong in my code?

condition: state
entity_id: climate.pokoj_105
state: "'on'"
attribute: hvac-modes_

My goal is to check what is the state of AC - if it is off please set some paraemters.

Hello anyone help? I will be appreciated for the support.

Can you share the full automation?

This is my complete script:


alias: I_piętro_pokoj_105_ON
description: ""
trigger:

  • platform: time_pattern
    seconds: "1"
    condition:
  • condition: time
    after: "07:30:00"
    before: "17:00:00"
  • condition: state
    entity_id: calendar.polska
    state: "off"
  • condition: state
    entity_id: climate.pokoj_105
    attribute: hvac_mode
    state: cool

My goal is to control the themperature, status of the AC and set the some confitions, for example:

  • if there is June and AC off and themeprature higher than 24 degree, switch on the AC, set the HVAC to cool with low fan speed without swing.
  • if there is June and AC on and HVAC is cool and themeprature lower than 24 degree, switch off the AC.

Similar examples for the winder time.

I think you need to remove the attribute: hvac_mode

So something like

- condition: state
  entity_id: climate.pokoj_105
  state: heat

Thank you - I will check and give the feedback.

Thank you - everything works fine so I will close the topic.

In this case I need to read status.