It should be possible to set the state from an external server with the url.
I want to set state of heating and switches but the values come from an external server with a database for the settings.
I use php and it respond to{“message”: “API running.”}
It should be possible to set the state from an external server with the url.
I want to set state of heating and switches but the values come from an external server with a database for the settings.
I use php and it respond to{“message”: “API running.”}
I try to use REST API but it doesn’t set the state correctly although i get a json reply.
you can’t actual change the physical state of any device/entity from the developers tools->state tab.
that will only change the state of the device observed in the state machine.
but it will immediately be overwritten by the actual state of the entity within the scan interval of that entity.
So if the switch is “off” (represented and physically) and you set it’s state to “on” by using “set state” the physical switch won’t change to on but the state machine representation will switch to “on” then it will immediately go back to “off” to match the state of the physical entity. It might be fast enough that you won’t notice it.
IS it possible to lock to set max and min temp and the update interval ?
I read that its update every 15 min but i’m not sure and cannot find if there is a setting for this?
That really depends on the who provides the integration for the thermostat. I use a generic climate entity and that has a resend (keep alive) interval. Generic Thermostat - Home Assistant