From f7545fe85c13f07db5c4df9fcdd09c8347efd879 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 13 Oct 2017 00:47:13 -0700 Subject: [PATCH] Remove namecheap dns service (#9845) --- homeassistant/components/namecheapdns.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/homeassistant/components/namecheapdns.py b/homeassistant/components/namecheapdns.py index 8397fcd0033..bfad10b4f76 100644 --- a/homeassistant/components/namecheapdns.py +++ b/homeassistant/components/namecheapdns.py @@ -42,13 +42,7 @@ def async_setup(hass, config): """Update the NamecheapDNS entry.""" yield from _update_namecheapdns(session, host, domain, token) - @asyncio.coroutine - def update_domain_service(call): - """Update the NamecheapDNS entry.""" - yield from _update_namecheapdns(session, host, domain, token) - async_track_time_interval(hass, update_domain_interval, INTERVAL) - hass.services.async_register(DOMAIN, 'update dns', update_domain_service) return result