rsampayo / sleepme_thermostat

SleepMe Thermostat integration is a custom component for Home Assistant
8 stars 1 forks source link

Climate Integration: Entity Implements HVAC Modes Without Proper ClimateEntityFeature #4

Closed rsampayo closed 2 months ago

rsampayo commented 2 months ago

Description:

Logger: homeassistant.components.climate Source: components/climate/init.py:370 Integration: Climate

Issue: The custom integration sleepme_thermostat has an entity (None, <class 'custom_components.sleepme_thermostat.climate.SleepMeThermostat'>) that implements HVAC modes (off, auto) and therefore implicitly supports the turn_on/turn_off methods. However, it does not set the proper ClimateEntityFeature to reflect this support.

Details:

•   The issue first occurred at 3:49:43 PM and was logged twice.
•   The system is indicating that the custom integration should explicitly set the appropriate ClimateEntityFeature to avoid this warning.

Action Required: Please update the sleepme_thermostat custom integration to properly set the ClimateEntityFeature for the turn_on/turn_off methods to align with the implemented HVAC modes.

rsampayo commented 2 months ago

fixed. https://github.com/rsampayo/sleepme_thermostat/commit/83fb5cfab88fe336a654b0cbb02cb962fc5e7642