custom-components / grocy

Custom Grocy integration for Home Assistant
Apache License 2.0
163 stars 50 forks source link

[FR] Feature Request: Get period_interval for chores attribute in sensor.grocy_chores #303

Open droans opened 10 months ago

droans commented 10 months ago

Grocy uses period_interval to store the period frequency for a task (IE - every 2 days would have a period_interval of 2, every 6 months would have a period_interval of 6.

As far as I am aware, this data is only included when calling /api/chores/{chore_id}.

If this would create an anti-pattern or be overly complicated, it could be more helpful then to create a new service such as grocy.get_generic which would use the provided data to pull from the API and return a result to the user.