Skip to content

zvldz/ha_rest_mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Modified rest component for Home Assistant

Installation

Manual mode

Place the rest_mod folder into your custom_components folder.

Adding custom repository to HACS

Go to the Integrations page in HACS and select the three dots in the top right corner. Select Custom repositories. Add repository url. Category - Integration. Read more on https://hacs.xyz/docs/faq/custom_repositories.

Changes compared to the original component

  • Sensor is always created, even if it could not get the data.
  • Added payload_template(sensor/binary_sensor).
  • Added state_resource_template(switch).
  • Added resource_template(switch).
  • Added configuration variable proxy_url(sensor/binary_sensor). Support for http proxies only.

Example

# Example configuration.yaml entry
sensor:
  - platform: rest_mod
    resource: http://IP_ADDRESS/ENDPOINT
    proxy_url: "http://127.0.0.1:3128"

About

REST_MOD modified component for Home Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages