From ed0ec613c3c2dbd2d891d9247492f4e88ce9a517 Mon Sep 17 00:00:00 2001
From: Juggels <bernd@bjws.nl>
Date: Sat, 13 May 2017 05:06:28 +0200
Subject: [PATCH] Comment RasPi specific requirements (#7562)

---
 homeassistant/components/sensor/envirophat.py | 1 +
 requirements_all.txt                          | 4 ++--
 script/gen_requirements_all.py                | 2 ++
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/homeassistant/components/sensor/envirophat.py b/homeassistant/components/sensor/envirophat.py
index fa694d837f0..f2db833954f 100644
--- a/homeassistant/components/sensor/envirophat.py
+++ b/homeassistant/components/sensor/envirophat.py
@@ -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.")
diff --git a/requirements_all.txt b/requirements_all.txt
index 08e6f85ebb4..7e57538711e 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -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
diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py
index 64091c5c2cc..59299f36453 100755
--- a/script/gen_requirements_all.py
+++ b/script/gen_requirements_all.py
@@ -27,6 +27,8 @@ COMMENT_REQUIREMENTS = (
     'decora',
     'face_recognition',
     'blinkt',
+    'smbus-cffi',
+    'envirophat'
 )
 
 TEST_REQUIREMENTS = (
-- 
GitLab