-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
confusing installation guide #8
Comments
|
try
I have successfully added the script and configuration.yml for Xiaomi Water Purifier. However, it still shows some error after restarted.
|
Hi,
I am trying to install this component but the installation guide is confusing. It say:
1: Copy custom_components/sensor/mi_water_purifier.py to .homeassistant/custom_components/sensor
But the folders and .py files are:
custom_components/mi_water_purifier/sensor.py
I am not sure where to put
__init__.py
andsensor.py
. or if I need to rename the sensor.py tomi_water_purifier.py
Also I have a problem on configuration.yaml and the group configuration, it don't pass the verification and give me the error:
Invalid config for [group]: expected a dictionary for dictionary value @ data['group']. Got [OrderedDict([('xiaomi_water_purifier', OrderedDict([('name', 'Xiaomi Water Purifier'), ('icon', 'mdi:water'), ('entities', ['sensor.tap_water', 'sensor.filtered_water', 'sensor.pp_cotton_filter', 'sensor.front_active_carbon_filter', 'sensor.ro_filter', 'sensor.rear_active_carbon_filter'])]))])]. (See /config/configuration.yaml, line 13).
Can you help me please?
Thanks
The text was updated successfully, but these errors were encountered: