mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-19 04:50:43 +00:00
Merge pull request #5 from USA-RedDragon/climate-logging
Add logger to climate
This commit is contained in:
commit
4602092449
@ -1,5 +1,6 @@
|
|||||||
"""Demo platform that offers a fake climate device."""
|
"""Demo platform that offers a fake climate device."""
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
import logging
|
||||||
|
|
||||||
from homeassistant.components.climate import ClimateDevice
|
from homeassistant.components.climate import ClimateDevice
|
||||||
from homeassistant.components.climate.const import (
|
from homeassistant.components.climate.const import (
|
||||||
@ -56,6 +57,8 @@ PRESET_AWAY_AND_ECO = "Away and Eco"
|
|||||||
|
|
||||||
PRESET_MODES = [PRESET_NONE, PRESET_AWAY, PRESET_ECO, PRESET_AWAY_AND_ECO]
|
PRESET_MODES = [PRESET_NONE, PRESET_AWAY, PRESET_ECO, PRESET_AWAY_AND_ECO]
|
||||||
|
|
||||||
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_platform(hass,
|
async def async_setup_platform(hass,
|
||||||
config,
|
config,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user