Skip to content

Commit

Permalink
Moved lirc out of sensor package.
Browse files Browse the repository at this point in the history
  • Loading branch information
partofthething committed May 24, 2016
1 parent c1f96aa commit 09161ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ omit =
homeassistant/components/light/hyperion.py
homeassistant/components/light/lifx.py
homeassistant/components/light/limitlessled.py
homeassistant/components/lirc.py
homeassistant/components/media_player/cast.py
homeassistant/components/media_player/denon.py
homeassistant/components/media_player/firetv.py
Expand Down Expand Up @@ -164,7 +165,6 @@ omit =
homeassistant/components/sensor/google_travel_time.py
homeassistant/components/sensor/gtfs.py
homeassistant/components/sensor/lastfm.py
homeassistant/components/sensor/lirc.py
homeassistant/components/sensor/loopenergy.py
homeassistant/components/sensor/netatmo.py
homeassistant/components/sensor/neurio_energy.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@

from homeassistant.const import EVENT_HOMEASSISTANT_STOP

DOMAIN = "lirc"
REQUIREMENTS = ['python-lirc>=1.2.1']
_LOGGER = logging.getLogger(__name__)
ICON = 'mdi:remote'
EVENT_BUTTON_PRESSED = 'button_pressed'
BUTTON_NAME = 'button_name'


def setup_platform(hass, config, add_devices, discovery_info=None):
def setup(hass, config):
"""Setup LIRC capability."""
# Perform safe import of third-party python-lirc module
try:
Expand Down

0 comments on commit 09161ae

Please sign in to comment.