Comment RasPi specific requirements (#7562)

This commit is contained in:
Juggels authored and Paulus Schoutsen committed 2017-05-12 20:06:28 -07:00
1 parent 4a3048b370
commit ed0ec613c3
3 files changed
+5 -2

No files matched your search

@@ -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.")