Skip to content

Instantly share code, notes, and snippets.

@cgtobi
cgtobi / netatmo2.py
Last active November 22, 2018 09:28 — forked from gieljnssns/netatmo2.py
Custom climate component for testing new Netatmo Energy API on HA +0.72
"""
Support for Netatmo Smart Thermostat.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/climate.netatmo/
"""
import logging
from datetime import timedelta
import voluptuous as vol
from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE