Skip to content

Instantly share code, notes, and snippets.

View flechaig's full-sized avatar

flechaig

  • France
  • 09:17 (UTC +01:00)
View GitHub Profile
"""" custom py file for device Aqara Cube."""
import logging
import homeassistant.util.dt as dt_util
from custom_components import zha_new
_LOGGER = logging.getLogger(__name__)
DOMAIN = 'cube_event'
def _custom_endpoint_init(self, node_config, *argv):
"""set node_config based on Lumi device_type."""