@MHassio wrote:
Hello All,
I have a Raspberry pi 4 with hassio;
|System|HassOS 3.9|
|Deployment|production|I enabled I2C using a USB stick as discribed on: https://www.home-assistant.io/hassio/enable_i2c/
When i click on “import from USB” the button flashed briefly and get following logging (and is same when no usb stick is connected!)INFO (MainThread) [hassio.hassos] Syncing configuration from USB with HassOS.
INFO (MainThread) [hassio.host.services] Restart local service hassos-config.service
INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.RestartUnit on /org/freedesktop/systemd1After adding following code to yaml file;
binary_sensor:
- platform: mcp23017
i2c_address: 0x20
pins:
0: PIR Office
1: PIR BedroomI get following error;
starting version 3.2.8
[23:56:51] INFO: Don’t worry, this temporary installation is not overwriting your current one.
[23:56:51] INFO: Installing Home Assistant: latest…
[23:56:51] INFO: Please be patient, this might take a few minutes…
WARNING: You are using pip version 19.2.2, however version 20.0.2 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
[23:59:32] INFO: Installed Home Assistant 0.105.2
[23:59:32] INFO: Making a copy of your configuration for checking…
[00:00:40] INFO: Checking your configuration against this version…
[00:03:12] ERROR: The configuration check did not pass!
[00:03:12] ERROR: See the output below for more details.
INFO:homeassistant.util.package:Attempting install of colorlog==4.1.0
Testing configuration at /tmp/config
INFO:homeassistant.util.package:Attempting install of hbmqtt==0.9.5
INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.5.0
INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0
INFO:homeassistant.util.package:Attempting install of mutagen==1.43.0
INFO:homeassistant.util.package:Attempting install of gTTS-token==1.1.3
INFO:homeassistant.util.package:Attempting install of pyRFXtrx==0.25
INFO:homeassistant.util.package:Attempting install of RPi.GPIO==0.7.0
INFO:homeassistant.util.package:Attempting install of adafruit-blinka==1.2.1
INFO:homeassistant.util.package:Attempting install of adafruit-circuitpython-mcp230xx==1.1.2
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/scripts/check_config.py”, line 204, in check
async_check_ha_config_file(hass)
File “/usr/local/lib/python3.7/asyncio/base_events.py”, line 579, in run_until_complete
return future.result()
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/check_config.py”, line 164, in async_check_ha_config_file
platform = p_integration.get_platform(domain)
File “/usr/local/lib/python3.7/site-packages/homeassistant/loader.py”, line 275, in get_platform
f"{self.pkg_path}.{platform_name}"
File “/usr/local/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mcp23017/switch.py”, line 5, in
import board # pylint: disable=import-error
File “/usr/local/lib/python3.7/site-packages/board.py”, line 37, in
if board_id == ap_board.FEATHER_HUZZAH:
AttributeError: module ‘adafruit_platformdetect.board’ has no attribute ‘FEATHER_HUZZAH’
Fatal error while loading config: module ‘adafruit_platformdetect.board’ has no attribute ‘FEATHER_HUZZAH’
Failed config
General Errors:
- module ‘adafruit_platformdetect.board’ has no attribute ‘FEATHER_HUZZAH’Can anybody help with this issue? or point me in the correct direction?
Thanks !
Posts: 1
Participants: 1