GOAP collection schedule in Home Assistant
Make sure you get a collection schedule for your address on this website
-
Install the following components from HACS:
-
Enable
Allow all imports
option in PyScript settings (Configuration -> Integrations -> PyScript -> Options) -
Copy the
pyscript
folder from this repository into your Home Assistant configuration folder. Alternatively, you can run the following commands:Make sure you are in your HA config folder (the one with
configuration.yaml
inside)git clone https://github.com/krygacz/goap-home-assistant.git goap cp -r ./goap/pyscript ./ rm -rf ./goap
-
Open
pyscript/goap.py
with your favorite text editor and follow the instructions there to edit configuration -
Add the following card to your lovelace dashboard:
type: 'custom:auto-entities' filter: include: - entity_id: sensor.goap_* options: type: 'custom:garbage-collection-card' title_size: 15px icon_size: 35px style: | ha-icon-button { color: {{state_attr('this.entity_id', 'icon_color')}}; } sort: method: attribute attribute: days card: type: 'custom:layout-card'
Here's how it should look like: