Help with a flow to start heating on my car

Hello.

New user to Homey, and ive been playing around for å few days.
But i am really struggling and need some help.

I am trying to start the heating in my car with a push of a button :

When :
Start heating button is pressed

And:
Heating status is off start heating
Send push notification " do you wanna start heating"

Or

Heating status is on
Send push notification " do you wanna stop heating"

Then :
Start heating

Else

Stop heating

Something like this😊

I feel i have tried everything with all possible logic, but i can not get ir to work.

Picture are my latest where “heater på” is sat as YES

I know my “then” is not correct, but is just for showing you guys what i mean.

Running version 4.2, i use the volvo app for controlling the car.

Please help.

Thanks

Hi Christer,
A warm welcome to the Homey User and the community.
I suggest you read the following tutorials to understand how flows are build and how they work:

Your mistake is the following:
The AND section checks if certain properties (states, values, etc.) are true or not. These can be single properties or groups. If you want to check more properties, they are added below the OR.
If the properties in the area AND are fulfilled (above OR and/or below OR) then the action is executed in the area THEN.
If the properties in the area AND are not fulfilled (above OR and/or below OR) then the action in the area THEN is executed which is below OR.

Hello, and very much thank you for the answer.

You wrote this:
“If the properties in the area AND are not fulfilled (above OR and/or below OR) then the action in the area THEN is executed which is below OR”

The last OR, do you mean “else”?

Thank you.

Is it not possible to enter something like:

If x is y then do the first “then”

Or

If x is y then do the second (beneath else) “then”

Hmm, still not firing correctly.

Please see picture.
First “and” are fulfilled, but ita executing “then” under else.
Is it correct? I understood you if any of the “and” got fulfilled it would execute the first “then”?

Edit : i solved it. Forgot the “or” in the and section.
Thanks for your help.

I can now push a button and following happens ;

Push button
Do you wanna start heating
Pressing yes
Heating starts.

Press the same button
Continue heating?
Pressing no
Heating stops.

:blush:

Of course, I meant ELSE, sorry.