Skip to content

milanvo/hass-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

❗ 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

hass-components

Home Assistant custom components

rflink2

RFLink custom component allowing to use second RFLink module

Installation

  • download or clone repository files
  • add to configuration.yaml:
    rflink2:
      port: /dev/ttyACM0
    

ups_pico

Custom component for UPS PIco from PiModules

Requirements

  • smbus2 v0.2.0 Python package - should be installed automatically by HA

Installation

  • 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

About

Home Assistant custom components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages