Commit graph

9 commits

Author SHA1 Message Date
13ff5a534e Replace broken QR login with manual JSESSIONID cookie
Samsung rebuilt account.samsung.com as a JS SPA backed by /iam/oauth2,
so the integration's HTML-scraping QR flow can no longer find the
signin URL and /accounts/v1/FMM2/signInWithQrCode now 404s. The STF
backend (chkLogin.do, getDeviceList.do, ...) is unchanged.

Replace the multi-step QR config flow with a single form that asks
the user to paste the JSESSIONID cookie copied from a logged-in
browser session at smartthingsfind.samsung.com. validate_jsessionid
hits chkLogin.do to verify the cookie before accepting it.

Also bundle in earlier compatibility fixes for newer HA: store
devices in hass.data so the coordinator can look them up by
entry_id, and use async_on_update on the device_tracker entity.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 01:16:22 +00:00
freybene
065163fdcc Add option to enable/disable active mode and make update_interval configurable (closes #11) 2024-06-19 12:15:05 +02:00
freybene
6f17edae14 Unescape device names (fixes #12) 2024-06-19 10:32:47 +02:00
freybene
6e4285f824 Use entry_id for local data (fixes #10, #13) 2024-06-19 09:11:56 +02:00
freybene
9418cc61e6 Don't fetch data for disabled devices 2024-05-29 15:27:53 +02:00
freybene
30b234945d Remove temporary logging 2024-05-28 11:53:01 +02:00
freybene
17184ed014 Fix encoding issues by adding 'Accept'-Header. Closes #1 2024-05-25 12:10:46 +02:00
freybene
0f9ae570f6 Add battery_level 'VERY_LOW', reduce some log levels, bump version_number 2024-05-25 08:20:20 +02:00
freybene
ac2b38ad81 Initial commit 2024-05-24 21:39:41 +02:00