Site updated at 2014-12-26 08:03:49 UTC
This commit is contained in:
parent
5119c6f251
commit
6eb779d60a
22 changed files with 562 additions and 257 deletions
|
@ -116,9 +116,9 @@
|
|||
|
||||
<p>If you are planning to add support for a new type of device to an existing component, you can get away with only writing platform logic. Have a look at how the component works with other platforms and create a similar file for the platform that you would like to add.</p>
|
||||
|
||||
<div class='note'><p class='title'>Note</p><p class='content'>
|
||||
<p class='note'>
|
||||
Platform logic should not interface directly with the devices but use a third-party Python 3 library that speaks the actual API.
|
||||
</p></div>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
@ -160,22 +160,6 @@ Platform logic should not interface directly with the devices but use a third-pa
|
|||
|
||||
|
||||
|
||||
<script>
|
||||
var disqus_shortname = 'home-assistant';
|
||||
|
||||
|
||||
// var disqus_developer = 1;
|
||||
var disqus_identifier = 'https://home-assistant.io/developers/add_new_platform.html';
|
||||
var disqus_url = 'https://home-assistant.io/developers/add_new_platform.html';
|
||||
var disqus_script = 'embed.js';
|
||||
|
||||
(function () {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
}());
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue