Skip to content

Instantly share code, notes, and snippets.

@oscarcarlsson
Last active April 13, 2019 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscarcarlsson/3dd0594381d7d09a38c48c71d1f4e184 to your computer and use it in GitHub Desktop.
Save oscarcarlsson/3dd0594381d7d09a38c48c71d1f4e184 to your computer and use it in GitHub Desktop.
services.home-assistant = {
enable = true;
configDir = "/storage/backup/hassio/config";
package = pkgs.home-assistant.override {
extraComponents = [
"discovery"
"cloud"
"weather"
"rfxtrx"
"rfxtrx.binary_sensor"
"rfxtrx.sensor"
"rfxtrx.switch"
"rfxtrx.cover"
"rfxtrx.light"
[...]
];
};
### journalctl -u home-assistant.service
Apr 13 16:30:38 amarillo hass[19830]: 2019-04-13 16:30:38 INFO (MainThread) [homeassistant.loader] Loaded rfxtrx from homeassistant.components.rfxtrx
Apr 13 16:30:39 amarillo hass[19830]: 2019-04-13 16:30:39 INFO (MainThread) [homeassistant.loader] Loaded rfxtrx.switch from homeassistant.components.rfxtrx.switch
[...]
Apr 13 16:30:39 amarillo hass[19830]: 2019-04-13 16:30:39 ERROR (MainThread) [homeassistant.setup] Error during setup of component rfxtrx
Apr 13 16:30:39 amarillo hass[19830]: Traceback (most recent call last):
Apr 13 16:30:39 amarillo hass[19830]: File "/nix/store/iva84d5g2hxh4mhsrdmy33q1c5z08ryl-homeassistant-0.91.1/lib/python3.7/site-packages/homeassistant/setup.py", line>
Apr 13 16:30:39 amarillo hass[19830]: component.setup, hass, processed_config) # type: ignore
Apr 13 16:30:39 amarillo hass[19830]: File "/nix/store/gbwx5sc4w0i0ipnmsa0nsk88svs983vl-python3-3.7.2/lib/python3.7/concurrent/futures/thread.py", line 57, in run
Apr 13 16:30:39 amarillo hass[19830]: result = self.fn(*self.args, **self.kwargs)
Apr 13 16:30:39 amarillo hass[19830]: File "/nix/store/iva84d5g2hxh4mhsrdmy33q1c5z08ryl-homeassistant-0.91.1/lib/python3.7/site-packages/homeassistant/components/rfxt>
Apr 13 16:30:39 amarillo hass[19830]: import RFXtrx as rfxtrxmod
Apr 13 16:30:39 amarillo hass[19830]: ModuleNotFoundError: No module named 'RFXtrx'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment