syssi / xiaomi_airconditioningcompanion

Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant
Apache License 2.0
394 stars 93 forks source link

cant initiate component integration on configuration.yaml #86

Closed chimneybear closed 4 years ago

chimneybear commented 4 years ago

I've added this repository https://github.com/syssi/xiaomi_airconditioningcompanion onto my hassio running on RPI3 - home assistant ver 0.100.2

Here are the lines i added onto my configuration.yaml:

climate:
  - platform: xiaomi_miio_airconditioningcompanion
    name: Aqara Air Conditioning Companion
    host: 192.168.2.7
    token: !secret living_hub_key
    target_sensor: sensor.temp_living
    scan_interval: 60

Am getting this error when I check config:

Platform error climate.xiaomi_miio_airconditioningcompanion - Integration 'xiaomi_miio_airconditioningcompanion' not found.

What went wrong?

syssi commented 4 years ago

What do you mean by:

I've added this repository https://github.com/syssi/xiaomi_airconditioningcompanion onto my hassio running on RPI3 - home assistant ver 0.100.2

Where did you filed the custom component?

chimneybear commented 4 years ago

What do you mean by:

I've added this repository https://github.com/syssi/xiaomi_airconditioningcompanion onto my hassio running on RPI3 - home assistant ver 0.100.2

Where did you filed the custom component?

Just added the link onto Add-On store repositories. But nothing shows up.

Capture

I'm definitely not doing it right. Would you be able to point me in the right direction?

syssi commented 4 years ago
  1. Remove the Repository again.
  2. Download and extract this archive to your config directory: https://github.com/syssi/xiaomi_airconditioningcompanion/archive/develop.zip

https://developers.home-assistant.io/docs/en/creating_component_loading.html

chimneybear commented 4 years ago

thanks @syssi

it works now :)