Hassio:

configuration.yml


template:
  - sensor:

    # Flatastic chore stats
    - name: Flatmate's chore stats
        state: "{{ state_attr('sensor.flatastic_flatmates', '%%% user-id %%%')['choreStats'] | int }}"
        unit_of_measurement: "❤️"

# deprecated, use UI to configure accordingly.
camera:
  - platform: generic
    name: Chores
    username: !secret flatastic_username
    password: !secret flatastic_password
    auhentication: basic
    still_image_url: https://flatastic.hatt.style/chores/table/weekly
    scan_interval: 5

# Shout on flatastic
rest_command:
  flatastic_shout:
    url: "https://flatastic.hatt.style/shouts/create?shout={{ shout | urlencode }}"
    username: !secret flatastic_username
    password: !secret flatastic_password

secrets.yml

username: "%%% USERNAME %%%"
password: "%%% PASSWORD %%%"