-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Unpacking RESTful sensor JSON results into attributes. #10753
Commits on May 6, 2017
-
Added support for extracting JSON attributes from RESTful values
Setting the json_attributes configuration option to true on the RESTful sensor will cause the result of the REST request to be parsed as a JSON string and if successful the resulting dictionary will be used for the attributes of the sensor.
Configuration menu - View commit details
-
Copy full SHA for dbaa626 - Browse repository at this point
Copy the full SHA dbaa626View commit details -
Added support for extracting JSON attributes from RESTful values
Setting the json_attributes configuration option to true on the RESTful sensor will cause the result of the REST request to be parsed as a JSON string and if successful the resulting dictionary will be used for the attributes of the sensor.
Configuration menu - View commit details
-
Copy full SHA for fb19f87 - Browse repository at this point
Copy the full SHA fb19f87View commit details -
Merge branch 'rest-json-attrs' of https://github.com/nickovs/home-ass…
…istant into rest-json-attrs
Configuration menu - View commit details
-
Copy full SHA for 0cb9def - Browse repository at this point
Copy the full SHA 0cb9defView commit details -
Added requirement that RESTful JSON results used as attributes must be
objects, not lists.
Configuration menu - View commit details
-
Copy full SHA for e08f649 - Browse repository at this point
Copy the full SHA e08f649View commit details -
Expanded test coverage to test REFTful JSON attributes with and
without a value template.
Configuration menu - View commit details
-
Copy full SHA for de07ae5 - Browse repository at this point
Copy the full SHA de07ae5View commit details
Commits on May 7, 2017
-
Added support for extracting JSON attributes from RESTful values
Setting the json_attributes configuration option to true on the RESTful sensor will cause the result of the REST request to be parsed as a JSON string and if successful the resulting dictionary will be used for the attributes of the sensor.
Configuration menu - View commit details
-
Copy full SHA for 227a5ad - Browse repository at this point
Copy the full SHA 227a5adView commit details -
Added requirement that RESTful JSON results used as attributes must be
objects, not lists.
Configuration menu - View commit details
-
Copy full SHA for 769c7ff - Browse repository at this point
Copy the full SHA 769c7ffView commit details -
Expanded test coverage to test REFTful JSON attributes with and
without a value template.
Configuration menu - View commit details
-
Copy full SHA for 0f25f6d - Browse repository at this point
Copy the full SHA 0f25f6dView commit details -
Merge branch 'rest-json-attrs' of github.com:nickovs/home-assistant i…
…nto rest-json-attrs
Configuration menu - View commit details
-
Copy full SHA for a22a6d4 - Browse repository at this point
Copy the full SHA a22a6d4View commit details
Commits on Nov 20, 2017
-
sensor.envirophat: add missing requirement (home-assistant#7451)
Adding requirements that is not explicitly pulled in by the library that manages the Enviro pHAT.
Configuration menu - View commit details
-
Copy full SHA for 6bd57cc - Browse repository at this point
Copy the full SHA 6bd57ccView commit details -
PyPI Openzwave (home-assistant#7415)
* Remove default zwave config path PYOZW now has much more comprehensive default handling for the config path (in src-lib/libopenzwave/libopenzwave.pyx:getConfig()). It looks in the same place we were looking, plus _many_ more. It will certainly do a much better job of finding the config files than we will (and will be updated as the library is changed, so we don't end up chasing it). The getConfig() method has been there for a while, but was subsntially improved recently. This change simply leaves the config_path as None if it is not specified, which will trigger the default handling in PYOZW. * Install python-openzwave from PyPI As of version 0.4, python-openzwave supports installation from PyPI, which means we can use our 'normal' dependency management tooling to install it. Yay. This uses the default 'embed' build (which goes and downloads statically sources to avoid having to compile anything locally). Check out the python-openzwave readme for more details. * Add python-openzwave deps to .travis.yml Python OpenZwave require the libudev headers to build. This adds the libudev-dev package to Travis runs via the 'apt' addon for Travis. Thanks to @MartinHjelmare for this fix. * Update docker build for PyPI openzwave Now that PYOZW can be install from PyPI, the docker image build process can be simplified to remove the explicit compilation of PYOZW.
Configuration menu - View commit details
-
Copy full SHA for d635e26 - Browse repository at this point
Copy the full SHA d635e26View commit details -
Add datadog component (home-assistant#7158)
* Add datadog component * Improve test_invalid_config datadog test * Use assert_setup_component for test setup
Configuration menu - View commit details
-
Copy full SHA for 44cc762 - Browse repository at this point
Copy the full SHA 44cc762View commit details -
Fix object type for default KNX port
home-assistant#7429 describes a TypeError that is raised if the port is omitted in the config for the KNX component (integer is required (got type str)). This commit changes the default port from a string to an integer. I expect this will resolve that issue...
Configuration menu - View commit details
-
Copy full SHA for 67e8f52 - Browse repository at this point
Copy the full SHA 67e8f52View commit details -
Added support for extracting JSON attributes from RESTful values
Setting the json_attributes configuration option to true on the RESTful sensor will cause the result of the REST request to be parsed as a JSON string and if successful the resulting dictionary will be used for the attributes of the sensor.
Configuration menu - View commit details
-
Copy full SHA for d23ccce - Browse repository at this point
Copy the full SHA d23ccceView commit details -
Added requirement that RESTful JSON results used as attributes must be
objects, not lists.
Configuration menu - View commit details
-
Copy full SHA for f5bbf6b - Browse repository at this point
Copy the full SHA f5bbf6bView commit details -
Expanded test coverage to test REFTful JSON attributes with and
without a value template.
Configuration menu - View commit details
-
Copy full SHA for a281132 - Browse repository at this point
Copy the full SHA a281132View commit details -
Added support for extracting JSON attributes from RESTful values
Setting the json_attributes configuration option to true on the RESTful sensor will cause the result of the REST request to be parsed as a JSON string and if successful the resulting dictionary will be used for the attributes of the sensor.
Configuration menu - View commit details
-
Copy full SHA for dda455d - Browse repository at this point
Copy the full SHA dda455dView commit details -
Added requirement that RESTful JSON results used as attributes must be
objects, not lists.
Configuration menu - View commit details
-
Copy full SHA for 3a99f4e - Browse repository at this point
Copy the full SHA 3a99f4eView commit details -
Expanded test coverage to test REFTful JSON attributes with and
without a value template.
Configuration menu - View commit details
-
Copy full SHA for 22bc0fc - Browse repository at this point
Copy the full SHA 22bc0fcView commit details -
Added support for extracting JSON attributes from RESTful values
Setting the json_attributes configuration option to true on the RESTful sensor will cause the result of the REST request to be parsed as a JSON string and if successful the resulting dictionary will be used for the attributes of the sensor.
Configuration menu - View commit details
-
Copy full SHA for d19a81b - Browse repository at this point
Copy the full SHA d19a81bView commit details -
Added requirement that RESTful JSON results used as attributes must be
objects, not lists.
Configuration menu - View commit details
-
Copy full SHA for 4ef54a1 - Browse repository at this point
Copy the full SHA 4ef54a1View commit details -
Expanded test coverage to test REFTful JSON attributes with and
without a value template.
Configuration menu - View commit details
-
Copy full SHA for 0b9711c - Browse repository at this point
Copy the full SHA 0b9711cView commit details -
Merge branch 'rest-json-attrs' of github.com:nickovs/home-assistant i…
…nto rest-json-attrs
Configuration menu - View commit details
-
Copy full SHA for 8c5548e - Browse repository at this point
Copy the full SHA 8c5548eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0795823 - Browse repository at this point
Copy the full SHA 0795823View commit details
Commits on Nov 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 19eab69 - Browse repository at this point
Copy the full SHA 19eab69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd2a5a - Browse repository at this point
Copy the full SHA 9dd2a5aView commit details
Commits on Nov 28, 2017
-
Switched json_attributes to be a list of keys rather than a boolean.
The value of json_attributes can now be either a comma sepaated list of key names or a YAML list of key names. Only matching keys in a retuned JSON dictionary will be mapped to sensor attributes. Updated test cases to handle json_attributes being a list. Also fixed two minor issues arrising from manual merge with 0.58 master.
Configuration menu - View commit details
-
Copy full SHA for 2dbcff5 - Browse repository at this point
Copy the full SHA 2dbcff5View commit details
Commits on Dec 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1d36270 - Browse repository at this point
Copy the full SHA 1d36270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02158b0 - Browse repository at this point
Copy the full SHA 02158b0View commit details -
Merge branch 'rest-json-attrs' of github.com:nickovs/home-assistant i…
…nto rest-json-attrs
Configuration menu - View commit details
-
Copy full SHA for a537b45 - Browse repository at this point
Copy the full SHA a537b45View commit details
Commits on Dec 3, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3a9650c - Browse repository at this point
Copy the full SHA 3a9650cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bf5ea3 - Browse repository at this point
Copy the full SHA 0bf5ea3View commit details