Moved lirc out of sensor package.
This commit is contained in:
parent
c1f96aabb0
commit
09161ae615
2 changed files with 3 additions and 2 deletions
|
@ -111,6 +111,7 @@ omit =
|
||||||
homeassistant/components/light/hyperion.py
|
homeassistant/components/light/hyperion.py
|
||||||
homeassistant/components/light/lifx.py
|
homeassistant/components/light/lifx.py
|
||||||
homeassistant/components/light/limitlessled.py
|
homeassistant/components/light/limitlessled.py
|
||||||
|
homeassistant/components/lirc.py
|
||||||
homeassistant/components/media_player/cast.py
|
homeassistant/components/media_player/cast.py
|
||||||
homeassistant/components/media_player/denon.py
|
homeassistant/components/media_player/denon.py
|
||||||
homeassistant/components/media_player/firetv.py
|
homeassistant/components/media_player/firetv.py
|
||||||
|
@ -164,7 +165,6 @@ omit =
|
||||||
homeassistant/components/sensor/google_travel_time.py
|
homeassistant/components/sensor/google_travel_time.py
|
||||||
homeassistant/components/sensor/gtfs.py
|
homeassistant/components/sensor/gtfs.py
|
||||||
homeassistant/components/sensor/lastfm.py
|
homeassistant/components/sensor/lastfm.py
|
||||||
homeassistant/components/sensor/lirc.py
|
|
||||||
homeassistant/components/sensor/loopenergy.py
|
homeassistant/components/sensor/loopenergy.py
|
||||||
homeassistant/components/sensor/netatmo.py
|
homeassistant/components/sensor/netatmo.py
|
||||||
homeassistant/components/sensor/neurio_energy.py
|
homeassistant/components/sensor/neurio_energy.py
|
||||||
|
|
|
@ -15,6 +15,7 @@ import logging
|
||||||
|
|
||||||
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
||||||
|
|
||||||
|
DOMAIN = "lirc"
|
||||||
REQUIREMENTS = ['python-lirc>=1.2.1']
|
REQUIREMENTS = ['python-lirc>=1.2.1']
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
ICON = 'mdi:remote'
|
ICON = 'mdi:remote'
|
||||||
|
@ -22,7 +23,7 @@ EVENT_BUTTON_PRESSED = 'button_pressed'
|
||||||
BUTTON_NAME = 'button_name'
|
BUTTON_NAME = 'button_name'
|
||||||
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup(hass, config):
|
||||||
"""Setup LIRC capability."""
|
"""Setup LIRC capability."""
|
||||||
# Perform safe import of third-party python-lirc module
|
# Perform safe import of third-party python-lirc module
|
||||||
try:
|
try:
|
Loading…
Add table
Add a link
Reference in a new issue