mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-04 09:16:49 +00:00

* Add brighness levels option to mochad In home-assistant/home-assistant#11146 a new configuration option, brighness_levels, is added to the mochad light component. This is used to tell home-assistant how many brightness levels the X10 light device supports because there is no way to actually discover this. This commit adds documentation for the new option. * Fix some leftover references to the switch component The documentation for the mochad light component was mostly copy and pasted from the mochad switch device. Since the configuration is more or less the same between devices. However in doing this several references to mochad switches was left in by mistake. This commit fixes these and replaces them with the correct name of the component.
Home Assistant website
This is the source for the Home-Assistant.io website.
Setup
Setting up to contribute to documentation and the process for submitting pull requests is explained here.
Site preview
In order to make the preview available on http://127.0.0.1:4000, use the command as follows:
bundle exec rake preview
Speeding up site generation
Every release we post long changelogs to the website. This slows down generation of the website significantly! We include some tools to temporarily exclude the blog posts that you're not working on out of the way.
bundle exec rake isolate[filename-of-blogpost]
When you're done working on the site, run the following command to move the posts back again:
bundle exec rake integrate
Description
Languages
HTML
63.6%
SCSS
15.2%
CSS
13.9%
Ruby
3.7%
JavaScript
3.6%