harrisony / anu-covid19

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cheeky little app to parse the Confirmed COVID-19 cases in the ANU community page and spit out a REST API.

Mainly for use in my home-assistant install

sensor:
  - platform: rest
    resource: "https://anu-covid19.heisenbean.coffee/community-cases"
    name: ANU COVID-19 cases
    unit_of_measurement: people
    #icon_template: mdi:emoticon-sad-outline
    scan_interval: 1800
    value_template: "{{ value_json.count }}"
    json_attributes:
      - cases
  - platform: rest
    resource: "https://anu-covid19.heisenbean.coffee/alert-level"
    name: ANU COVIDSafe Campus Alert
    #icon_template: mdi:emoticon-sad-outline
    scan_interval: 1800
    value_template: "{{ value_json.alert_level }}"

About


Languages

Language:HTML 97.2%Language:Python 2.2%Language:Dockerfile 0.6%Language:Procfile 0.0%