Comment RasPi specific requirements (#7562)

This commit is contained in:
Juggels 2017-05-13 05:06:28 +02:00 committed by Paulus Schoutsen
parent 4a3048b370
commit ed0ec613c3
3 changed files with 5 additions and 2 deletions

View file

@ -55,6 +55,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Sense HAT sensor platform."""
try:
# pylint: disable=import-error
import envirophat
except OSError:
_LOGGER.error("No Enviro pHAT was found.")

View file

@ -172,7 +172,7 @@ eliqonline==1.0.13
enocean==0.31
# homeassistant.components.sensor.envirophat
envirophat==0.0.6
# envirophat==0.0.6
# homeassistant.components.keyboard_remote
# evdev==0.6.1
@ -775,7 +775,7 @@ sleekxmpp==1.3.2
sleepyq==0.6
# homeassistant.components.sensor.envirophat
smbus-cffi==0.5.1
# smbus-cffi==0.5.1
# homeassistant.components.media_player.snapcast
snapcast==1.2.2

View file

@ -27,6 +27,8 @@ COMMENT_REQUIREMENTS = (
'decora',
'face_recognition',
'blinkt',
'smbus-cffi',
'envirophat'
)
TEST_REQUIREMENTS = (