:warning: MijnTuin.org will STOP all activities by end of May 2024. As a consequence, this integration will no longer work and will soon be removed from HACS. |
---|
MijnTuin.org Home Assistant custom component. This custom component has been built from the ground up to bring your Mijn Tuin garden planning details into Home Assistant to help you towards a better follow upon your garden. This integration is built against the public website provided by MijnTuin.org.
This integration is in no way affiliated with MijnTuin.org. At least a free account of the website MijnTuin.org is required. The management of your garden and plants in your garden needs to be setup on the website MijnTuin.org.
:warning: Please don't report issues with this integration to MijnTuin.org, they will not be able to support you. |
---|
mijntuin
should become available with the number of action to take this month. The attributes provide further details on the type of activities in your garden, the plants and the number of activities per month.service: mijntuin.update
is available that allows to 'force' refresh the data. This can be useful to quickly see the latest status of completed tasks. Standard data refresh is throttled and updated every hour.Since the sensors of this Mijn Tuin integration may contain much data in the attributes, it might be desired to disable full detailed history logging in the recorder of Home Assistant. You may disable it by adding below in configuration.yaml
:
recorder:
exclude:
entity_globs:
- sensor.mijn_tuin*
Still some optimisations are planned, see Issues section in GitHub.
The main logic and API connection related code can be found within source code youfone.be/custom_components/youfone.be:
All other files just contain boilerplat code for the integration to work wtihin HA or to have some constants/strings/translations.
{% endif %}
{% if (currplantsdone | length) > 0 %}
- <details>
<summary>Gedaan</summary>
{% for plant in currplantsdone %}
- <details>
<summary>
<img src="https://github.com/myTselection/MijnTuin/raw/main/{{ plant.get('photo').get('src') }} " width="30"></img> <b><a href="https://github.com/myTselection/MijnTuin/blob/main/{{ plant.get('plant_link') }}" target="_blank" title="{{ plant.get('latin_name') }}">{{ plant.get('name') }}</a></b>: {{ plant.get('description') }}</summary>
{% if plant.get('details','')|length > 0 %}
- {{ plant.get('details') }}
{% endif %}
- <a href="https://github.com/myTselection/MijnTuin/blob/main/{{ plant.get('link') }}" target="_blank">link</a>
{% if plant.get('buttons','')|length > 0 %}- <a href="https://github.com/myTselection/MijnTuin/blob/main/{{ plant.get('buttons')}}" target="_blank">markeer als gedaan</a>{% endif %}
</details>
{% endfor %}
</details>
{% endif %}
</details></br>
{% endif %}
{% endfor %}
{% for plant in state_attr('sensor.mijn_tuin','Plants') %}{{plant.get('name')}}, {% endfor %}
</details>
## Example Update button
<details><summary><b>Card example code</b></summary>
type: button show_name: true show_icon: true tap_action: action: call-service service: mijntuin.update target: {} entity: '' icon: mdi:update icon_height: 30px