❗ Home Assistant 0.88 components directory structure change ❗
ups_pico already updated #3
More info: https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html
Home Assistant custom components
RFLink custom component allowing to use second RFLink module
- download or clone repository files
- add to
configuration.yaml
:rflink2: port: /dev/ttyACM0
Custom component for UPS PIco from PiModules
- smbus2 v0.2.0 Python package - should be installed automatically by HA
- download or clone repository files
- copy dirs/files to your Home Assistant config directory - for example
/home/homeassistant/.homeassistant
with this structure:└── .homeassistant ├── configuration.yaml │ (... and the other current files) └── custom_components └── ups_pico ├── __init__.py └── switch.py
- add to
configuration.yaml
:ups_pico: switch: - platform: ups_pico
- restart Home Assistant
- you should see entities for sensors and switches like:
ups_pico.pwr_mode ups_pico.volt_rpi ups_pico.volt_bat ups_pico.temp_ntc1 switch.ups_pico_enabled_leds switch.ups_pico_blue_led switch.ups_pico_green_led switch.ups_pico_orange_led
- if it doesn't work, look to the log files