Skip to content

Conversation

xplato
Copy link
Contributor

@xplato xplato commented Oct 31, 2023

Blocked by #559

onSuccess: (_data, variables) => {
queryClient.setQueryData<ThermostatDevice | null>(
['thermostats', 'get', { device_id: variables.device_id }],
['devices', 'get', { device_id: variables.device_id }],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. Any other ones with this issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I decided to do this in a separate PR for the other hook: #562

@xplato xplato merged commit b0128ab into main Nov 3, 2023
@xplato xplato deleted the hook-up-fan-mode branch November 3, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants