Skip to content

Conversation

@Shutgun
Copy link

@Shutgun Shutgun commented Oct 10, 2025

Proposed Changes

The Home Assistant integration is currently failing to setup and if I nailed it correctly, the model does not match the API anymore. lastSeen is not in the API response, if the device is currently connected to the tailnet. I think, it restores the old behavior, if we set lastSeen to now in that case. However, I'm not sure if that is the best possible solution.

Related Issues

home-assistant/core#154111

@rbrunt
Copy link

rbrunt commented Oct 10, 2025

This is a change they made in the API, announced a couple of days ago: https://tailscale.com/changelog#2025-10-08

There's a new connectedToControl boolean flag, that if false means that lastSeen is set, otherwise it's not.

@github-actions
Copy link

github-actions bot commented Nov 9, 2025

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Nov 9, 2025
@lmagyar
Copy link

lmagyar commented Nov 12, 2025

Superseded by #1268, I think it is better to not introduce magical values, stick to the received data as closely as possible.

@Shutgun Shutgun closed this Nov 12, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

stale There has not been activity on this issue or PR for quite some time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants