nielsfaber / scheduler-component

Custom component for HA that enables the creation of scheduler entities
GNU General Public License v3.0
655 stars 41 forks source link

problem with climate component ( hvac ) #175

Closed Pigi-102 closed 2 years ago

Pigi-102 commented 2 years ago

Scheduled event should turn on hvac not change temperature ( only ).

Checklist

Expected behavior

After having created a timeslot event I expect that the scheduler trigger at least an event for the selected mode ( heat-cool-auto and so on ) and then eventually the temperature change. Something like:

                            {
                                "service": "climate.set_hvac_mode",
                                "entity_id": "climate.temperatura_sala_quattro",
                                "service_data": {
                                    "hvac_mode": "heat"
                                }
                            }

and then eventually:

                            {
                                "service": "climate.set_temperature",
                                "entity_id": "climate.temperatura_sala_quattro",
                                "service_data": {
                                    "hvac_mode": "heat",
                                    "temperature": 23
                                }

So on the first action the climate get powered on, on the choosen mode, and then the temperature get set to the wanted value, otherwise some hvac would not power on.

Actual behavior

[What actually happened] The schedule get created in the following way:

                    {
                        "start": "06:30:00",
                        "stop": "07:00:00",
                        "conditions": [],
                        "condition_type": null,
                        "track_conditions": false,
                        "actions": [
                            {
                                "service": "climate.set_temperature",
                                "entity_id": "climate.temperatura_sala_quattro",
                                "service_data": {
                                    "hvac_mode": "heat",
                                    "temperature": 7
                                }
                            }
                        ]
                    },

Steps to Reproduce

[Explain how to see the behaviour] Just create an hvac event to power on at a wanted time.

Pigi-102 commented 2 years ago

Nevermind, it seems a problem from the mqtt side. the schedulers seems to work fine.