Commit Graph

53 Commits

Author SHA1 Message Date
Hedda 88f4aeaa22
Update featured integrations screenshot in README (#64046) 2022-01-13 18:26:13 +01:00
Paulus Schoutsen 19c54b8cbf
Drop unused ruamel (#55672) 2021-09-03 22:17:10 -07:00
Ville Skyttä 9c5f608ffd
Remove Travis CI config (#44443)
https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
https://docs.travis-ci.com/user/migrate/open-source-repository-migration/#frequently-asked-questions
2020-12-22 13:49:42 +01:00
Gerard 0f1011ba3f
Update featured integrations screenshot in README (#41085) 2020-10-16 11:53:57 +02:00
springstan a2c3c33b22
Use core GitHub URL in all files (#41089) 2020-10-03 00:04:11 +02:00
springstan fca90a8ddc
Improve string formatting v5 (#33697)
* Improve string formatting v5

* Address review comments
2020-04-05 17:48:55 +02:00
Franck Nijhof f38011560f
Add pyupgrade (in pre-commit and CI) (#33688)
* Add pyupgrade (in pre-commit and CI)

* Fix leftover results of pyupgrade

* Ensure we run for Python 3.7 on pyupgrade
2020-04-05 12:49:57 +02:00
Fabian Affolter 2647296475
Refactor API documentation (#33217)
* Upgrade Sphinx to 2.4.4

* Refactor API documentation

* Remove left-over

* Remove Markdown from docstring

* Update titels
2020-03-25 13:21:04 -07:00
springstan a5cc08c8b6 Update featured integrations screenshot in README (#30134)
* Update featured integrations in README

* Update screenshot to include Somfy and exclude Almond

* Update outdated screenshot of featured components
2020-01-07 14:30:52 +01:00
Franck Nijhof f5d4878992 Fix isort on a small set of misc files (#29803) 2019-12-10 09:25:42 +01:00
Chandan Rai eb10f8dcd3 fixed minor typo in docs/source/api/helpers.rst (#27282) 2019-10-07 10:25:36 -07:00
Fabian Affolter 6bbc663d0b Add missing helpers (#21021) 2019-02-12 20:52:02 -06:00
Ville Skyttä cc38981a38 Update developer doc links to developers.home-assistant.io (#16622) 2018-09-15 13:27:37 +02:00
Paulus Schoutsen 7bb5344942
Remove homeassistant.remote (#16099)
* Remove homeassistant.remote

* Use direct import for API

* Fix docstring
2018-08-21 15:49:58 +02:00
Fabian Affolter 875e05ff38 Remove swagger file (#14762) 2018-06-02 08:29:38 -04:00
Matthias Urlichs f5cc40024d Rename homeassistant.util.async to .async_ (#13088)
"async" is (going to be) a reserved word.
2018-03-11 10:01:12 -07:00
Paulus Schoutsen 336b00765d
Fix Sphinx build (#12535) 2018-02-19 20:51:05 -08:00
Fabian Affolter 49343c9b02 Replace Gitter with Discord (#12199) 2018-02-05 21:25:37 +01:00
Guillaume Rischard 2084ad2164 Optimised images. Saved 80 KB out of 656 KB. 12.3% overall (up to 32.1% per file) (#10735) 2017-11-21 21:19:13 -08:00
Fabian Affolter 81324806d5 Move constants to setup.py (#10312)
* Remove unused import

* Move setup relevant consts to 'setup.py'

* remove blank line

* Set source
2017-11-03 07:43:30 -07:00
Kamil Warguła 53df3fadd7 Update `screenshot-components.png` file. (#9987) 2017-10-20 20:26:34 +02:00
David Byrne 52671842d5 Fixes broken source links in API docs (#9636)
* Fixes broken source links in API docs

* Removes illegal blank line
2017-10-01 23:10:01 -07:00
Paulus Schoutsen e7d783ca2a Update links.html 2017-05-24 14:47:22 -07:00
Paulus Schoutsen 36e5878b2e Move examples out (#6908)
* Remove examples from main repo

* Simplify README

* Point screenshot for components at dev branch for now
2017-04-02 17:01:51 -07:00
Dustin S 1ceac8407d Adding security contexts to the resources. (#3840) 2016-10-20 22:43:39 -07:00
Paulus Schoutsen 6581dc2381 Document more core pieces 2016-10-16 13:45:17 -07:00
Paulus Schoutsen 31ec0ac6a7 Add util.async to the dev docs 2016-10-16 13:35:01 -07:00
Fabian Affolter 194402f7e7 Upgrade Sphinx to 1.4.8 and set missing variables (#3650) 2016-10-04 00:47:28 -07:00
Robbie Trencheny d903661577 Flake8/pylint 2016-09-05 18:10:04 -07:00
Robbie Trencheny a5faa851e8 Docs update 2016-09-05 18:06:19 -07:00
Robbie Trencheny 1170b2897a Doc updates 2016-09-05 03:31:48 -07:00
Robbie Trencheny 5144547b70 Try out the RTD theme 2016-09-05 02:25:03 -07:00
Ben Bangert 641d531be3 Add Sphinx API doc generation (#3029)
* add's sphinx project to docs/ dir
* include core/helpers autodocs for API reference
2016-09-04 14:36:44 +02:00
Teagan M. Glenn 26526ca57a Add unit system support
Add unit symbol constants

Initial unit system object

Import more constants

Pydoc for unit system file

Import constants for configuration validation

Unit system validation method

Typing for constants

Inches are valid lengths too

Typings

Change base class to dict - needed for remote api call serialization

Validation

Use dictionary keys

Defined unit systems

Update location util to use metric instead of us fahrenheit

Update constant imports

Import defined unit systems

Update configuration to use unit system

Update schema to use unit system

Update constants

Add imports to core for unit system and distance

Type for config

Default unit system

Convert distance from HASS instance

Update temperature conversion to use unit system

Update temperature conversion

Set unit system based on configuration

Set info unit system

Return unit system dictionary with config dictionary

Auto discover unit system

Update location test for use metric

Update forecast unit system

Update mold indicator unit system

Update thermostat unit system

Update thermostat demo test

Unit tests around unit system

Update test common hass configuration

Update configuration unit tests

There should always be a unit system!

Update core unit tests

Constants typing

Linting issues

Remove unused import

Update fitbit sensor to use application unit system

Update google travel time to use application unit system

Update configuration example

Update dht sensor

Update DHT temperature conversion to use the utility function

Update swagger config

Update my sensors metric flag

Update hvac component temperature conversion

HVAC conversion for temperature

Pull unit from sensor type map

Pull unit from sensor type map

Update the temper sensor unit

Update yWeather sensor unit

Update hvac demo unit test

Set unit test config unit system to metric

Use hass unit system length for default in proximity

Use the name of the system instead of temperature

Use constants from const

Unused import

Forecasted temperature

Fix calculation in case furthest distance is greater than 1000000 units

Remove unneeded constants

Set default length to km or miles

Use constants

Linting doesn't like importing just for typing

Fix reference

Test is expecting meters - set config to meters

Use constant

Use constant

PyDoc for unit test

Should be not in

Rename to units

Change unit system to be an object - not a dictionary

Return tuple in conversion

Move convert to temperature util

Temperature conversion is now in unit system

Update imports

Rename to units

Units is now an object

Use temperature util conversion

Unit system is now an object

Validate and convert unit system config

Return the scalar value in template distance

Test is expecting meters

Update unit tests around unit system

Distance util returns tuple

Fix location info test

Set units

Update unit tests

Convert distance

DOH

Pull out the scalar from the vector

Linting

I really hate python linting

Linting again

BLARG

Unit test documentation

Unit test around is metric flag

Break ternary statement into if/else blocks

Don't use dictionary - use members

is metric flag

Rename constants

Use is metric flag

Move constants to CONST file

Move to const file

Raise error if unit is not expected

Typing

No need to return unit since only performing conversion if it can work

Use constants

Line wrapping

Raise error if invalid value

Remove subscripts from conversion as they are no longer returned as tuples

No longer tuples

No longer tuples

Check for numeric type

Fix string format to use correct variable

Typing

Assert errors raised

Remove subscript

Only convert temperature if we know the unit

If no unit of measurement set - default to HASS config

Convert only if we know the unit

Remove subscription

Fix not in clause

Linting fixes

Wants a boolean

Clearer if-block

Check if the key is in the config first

Missed a couple expecting tuples

Backwards compatibility

No like-y ternary!

Error handling around state setting

Pretty unit system configuration validation

More tuple crap

Use is metric flag

Error handling around min/max temp

Explode if no unit

Pull unit from config

Celsius has a decimal

Unused import

Check if it's a temperature before we try to convert it to a temperature

Linting says too many statements - combine lat/long in a fairly reasonable manner

Backwards compatibility unit test

Better doc
2016-08-04 22:02:19 -07:00
wind-rider c78e6c088e Add a swagger.yaml file (#2182)
* Add a swagger.yaml file

@balloob
I created a swagger configuration file that will help people create clients (apps / frontends) for Home Assistant more easily. Based upon this code it is even possible to generate client code for several programming languages.

I created it by hand now, so when the API changes it will need to be updated. That's why it would be better to generate this specification automatically. This is possible for API frameworks but I don't know whether it is possible for the handwritten endpoints in Home Assistant. Maybe you could assist here?

This documentation could be used to replace a part of https://home-assistant.io/developers/rest_api/.

* Added restrict parameter

* Moved swagger file to docs folder
2016-06-09 23:35:47 -07:00
Paulus Schoutsen 815a6999b1 Update screenshot README 2016-06-09 21:23:20 -07:00
Paulus Schoutsen e95d4cf19c Update screenshot 2015-08-30 17:48:06 -07:00
Paulus Schoutsen bdfb8deb94 Updated screenshots 2014-11-13 22:52:39 -08:00
Paulus Schoutsen f9fbb30fc0 Updated screenshots 2014-11-02 20:54:00 -08:00
Paulus Schoutsen b9d0316903 Updated Nexus 10 screenshot 2014-10-27 22:52:16 -07:00
Paulus Schoutsen 2e721f92a3 Updated README.md with new interface 2014-10-26 19:40:14 -07:00
Paulus Schoutsen a339fd0b53 Fixed typo in architecture diagram 2014-10-04 13:29:50 -04:00
Paulus Schoutsen 29c62780fc Moved Tasker for Android to separate repository 2014-09-24 12:04:33 -05:00
Paulus Schoutsen 00f0890021 Updated README.md screenshots 2014-06-05 23:28:48 -07:00
Paulus Schoutsen 50b492c64a Remote instances are now 100% operational 2014-04-29 00:30:31 -07:00
Paulus Schoutsen 697fce9924 Updating documentation 2014-01-04 18:24:30 -08:00
Paulus Schoutsen 4921787648 States.png is now screenshot of a more condensed table. 2013-12-10 00:39:58 -08:00
Paulus Schoutsen d9ffb67f90 Updated the docs 2013-12-10 00:36:53 -08:00
Paulus Schoutsen 3641d2ca24 EventBus is now Bus that handles Events and Services 2013-11-19 23:48:08 -08:00
Paulus Schoutsen f9d712d175 API updated to be RESTful 2013-10-29 00:22:38 -07:00