Info when device is switched on

Im using ha green with a few switchbot sensors for windows and temperature. As well an airconditioner.

Is there any configuration in ha possible to get an info when someone switches the airconditioner on?

1 Like

Its not about saving information.

I want a message popping up on my smartphone like:

Airconditioner turned on.

Create an automation that sends a notification to your phone when the device is turned on.

1 Like

i created an automation but I don’t receive a message.

the thing is my device/ airconditioner is not added into ha because there is no integration available. but the Airconditioner has an intergration for google home and ifttt.

im using switchbot to control the Airconditioner.

in switchbot the remote controller of the Airconditioner was added and i can do off and on with my smartphone (the aircon has its own app for internet but im doing different things with switchbot).

so in ha the switchbot on and off are displayed/ available but i dont receive a message if turn the aircon off or on.

its a simple automation I tried it with device and entity.

if device xyz is turned on, off send a message to smartphone mobile app.

samenfor changed status for the entity object.

any idea what i should check next?

If your switchbot has the option to share it’s state you will only be able to know if it has switched.
The state of your A/C though can be guessed if you know what it was and that the switch has been toggled.
So unless you find a way (if possible) to integrate your A/C by at least have it’s state, you don’t have a 100% reliability about it.

In your automation though, it should be possible to get a notification that it has run, maybe that the switchbot has been activated (just guessing since I don’t have one and don’t know how well they integrate) and rely that the toggle worked to get a state.

A notification shouldn’t be that difficult; show your automation/YAML code so we can help you.