-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New IHC platform #4129
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
New IHC platform #4129
Conversation
footer: true | ||
logo: ihc.png | ||
ha_category: Binary Sensor | ||
ha_release: 0.59 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
ha_iot_class: "Local Push" | ||
--- | ||
|
||
Before you can use the IHC Binary Sensor platform, you must setup the [IHC Component](../ihc/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the relative link work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does work because the url has an ending / but I have changed all links to absolute /components/... (I can see that is how it is done on the other pages)
... | ||
``` | ||
|
||
Configuration variables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use configuration tag instead:
https://home-assistant.io/developers/documentation/create_page/#configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
footer: true | ||
logo: ihc.png | ||
ha_category: Hub | ||
ha_release: "0.59" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
--- | ||
|
||
IHC Controller integration for Home Assistant allows you to connect the LK IHC controller to Home Assistant. | ||
(The controller is sold under other names in different countries - "ELKO Living system" in Sweeden and Norway) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Sweden"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
... | ||
``` | ||
|
||
Configuration variables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use configuration tag:
https://home-assistant.io/developers/documentation/create_page/#configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
footer: true | ||
logo: ihc.png | ||
ha_category: Sensor | ||
ha_release: 0.59 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
- id: 12346 | ||
... | ||
``` | ||
Configuration variables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use configuration tag:
https://home-assistant.io/developers/documentation/create_page/#configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
footer: true | ||
logo: ihc.png | ||
ha_category: Switch | ||
ha_release: 0.59 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
.... | ||
``` | ||
|
||
Configuration variables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use configuration tag:
https://home-assistant.io/developers/documentation/create_page/#configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
|
||
### Auto setup of IHC products | ||
|
||
If auto setup is enabled, the ihc component will automatically find IHC products and insert these as devices in Home Assistant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Place backticks around the
ich
when referencing to the component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
|
||
If auto setup is enabled, the ihc component will automatically find IHC products and insert these as devices in Home Assistant. | ||
To disable this set auto_setup to False. (Auto setup is on by default) | ||
See the individual device types for a list of IHC products to be regocnized automatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regocnized
->recognized
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
Each device is associated with an IHC resource id. | ||
To manually setup components you specify resource ids from the IHC project. | ||
(The IHC project is the file you edit/upload to the IHC Controller using LK IHC Visual - or similar program if your controller is not the LK brand). | ||
The project file is a XML file and you can view it with any text/xml editor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a XML
->an XML
text/xml
->text/XML
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
To manually setup components you specify resource ids from the IHC project. | ||
(The IHC project is the file you edit/upload to the IHC Controller using LK IHC Visual - or similar program if your controller is not the LK brand). | ||
The project file is a XML file and you can view it with any text/xml editor. | ||
You can rename it to have the xml extension and use a browser like Chrome or Internet Explorer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xml
->XML
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
|
||
- **auto_setup** (*Optional*): True to have IHC products auto setup. | ||
- **host** (*Required*): The url of the IHC Controller. | ||
- **info** (*Optional*): If True additional ihc info will be shown on each component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ich
->ICH
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IHC - Done
source/_components/ihc.markdown
Outdated
Configuration variables: | ||
|
||
- **auto_setup** (*Optional*): True to have IHC products auto setup. | ||
- **host** (*Required*): The url of the IHC Controller. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url
->URL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@dingusdk You documentation PR has been reviewed by @MartinHjelmare and myself. |
@MartinHjelmare and @frenck - I have been going through your comments, and all should have been fixed now. |
required: true | ||
type: int | ||
inverting: | ||
description: If True the sensor will be inverted. Default False. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to put the default value as a separate key value pair with key default
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/_components/ihc.markdown
Outdated
Components will get a default name that is a combination of the IHC group and IHC resource id. | ||
If you want to change the display names use the [Customizing entities](/docs/configuration/customizing-devices/) | ||
|
||
### {% linkable_title Manualy setup %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Manual setup"
Make sure links to anchor are adjusted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
{% endconfiguration %} | ||
|
||
The resource id should be an id of a boolean IHC resource. | ||
For more information about IHC resource ids see [Manual Setup](/components/ihc/#manualy-setup) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjust anchor after fix below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
In the example above 12345 is ihc resource id and "tablelight" is the name. | ||
The IHC resource id can be a light level for dimmers or an boolean output of a relay. | ||
For more information about IHC resource ids see [Manual Setup](/components/ihc/#manualy-setup) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjust anchor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
{% endconfiguration %} | ||
|
||
The resource id should be a boolean resource. (On/Off) | ||
For more information about IHC resource ids see [Manual Setup](/components/ihc/#manualy-setup) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjust anchor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree as well 👍
Thanks @dingusdk 🏅
Description:
Documentation of the IHC platform
Pull request in home-assistant (if applicable): home-assistant/core#10916