Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

use value prop in delete API call #273

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

jeremy-green
Copy link
Contributor

Description

I noticed the delete_generic method was throwing a 400 in Home Assistant. After investigating, it appears that the value property is used in other methods whereas it is not for delete_generic. This PR uses the value property of the passed in entity_type and allows for successful deletion of non-task entities (chores).

Checklist

  • The code change is tested and works locally.
  • tests pass. Your PR won't be merged unless tests pass
  • There is no commented out code in this PR

@SebRut SebRut merged commit 68aa607 into SebRut:develop Nov 8, 2023
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants