epenet
f17c5bc334
Use new reauth helpers in samsungtv ( #128729 )
2024-10-19 11:24:41 +02:00
Erik Montnemery
4060705d87
Use ConfigFlow.has_matching_flow to deduplicate samsungtv flows ( #127235 )
2024-10-01 17:56:38 +02:00
epenet
b898c86c89
Add MAC cleanup to SamsungTV ( #117906 )
...
* Add MAC cleanup to samsungtv
* Simplify
* Adjust
* leftover
* Appl
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update diagnostics tests
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-22 10:36:21 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler ( #111865 )
2024-02-29 22:16:14 +01:00
J. Nick Koston
28afe9ff9e
Correct misaligned formatting of mac addresses in samsungtv ( #110599 )
...
* Correct misaligned formatting of mac addresses in samsungtv
dhcp returns addresses in lowercase without : and there were places
were it was not passed through format_mac which resulted in the wrong
format being saved in the config entry
* safer
2024-02-14 17:25:08 -05:00
J. Nick Koston
17202e21f3
Use new config entry update/abort helper in samsungtv ( #108683 )
...
Use new config entry update/abort helper in samsungtv
uses the new helper from https://github.com/home-assistant/core/pull/108034
2024-01-22 22:59:50 +01:00
epenet
c9e8a3a887
Fix invalid MAC in samsungtv ( #103512 )
...
* Fix invalid MAC in samsungtv
* Also adjust __init__
2023-11-06 23:43:56 +01:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
epenet
1dccb8a9a9
Cleanup deprecated YAML from samsungtv ( #93392 )
2023-05-23 11:33:51 +02:00
Michaël Arnauts
7142b4ecac
Fixes some grammar mistakes ( #84283 )
2022-12-20 11:10:31 +01:00
J. Nick Koston
0a8a5b973a
Fix samsungtv to abort when ATTR_UPNP_MANUFACTURER is missing ( #78895 )
2022-09-21 14:02:54 -04:00
epenet
1b85929617
Adjust async_step_reauth in samsungtv ( #74165 )
2022-06-29 11:46:59 +02:00
epenet
fc8727454a
Use Mapping for async_step_reauth (p-s) ( #72766 )
2022-06-02 14:28:14 +02:00
epenet
8eb4a16a0f
Drop unnecessary async definitions in samsungtv ( #72019 )
...
* Drop unnecessary async definitions in samsungtv
* keep prefix
2022-05-18 08:01:28 +02:00
epenet
afe2b71b2e
Update model info from SSDP in SamsungTV ( #71992 )
...
* Update model info from SSDP in SamsungTV
* Add tests
2022-05-17 22:49:19 +03:00
epenet
d8d1e98d4e
Fix unique id in SamsungTV config flow ( #69899 )
...
* Fix unique id in SamsungTV config flow
* coverage
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-11 23:37:05 -10:00
J. Nick Koston
4b5033d08f
Abort samsungtv discovery of legacy devices when unique id not available ( #69376 )
2022-04-05 16:38:55 -07:00
epenet
2bb42f48aa
Add CONF_MODEL to core constants ( #68806 )
...
* Add CONF_MODEL to core constants
* Use CONF_MODEL in SamsungTV
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 10:01:10 +02:00
J. Nick Koston
6cec53bea1
Add support for finding the samsungtv MainTvAgent service location ( #68763 )
2022-03-27 22:01:07 -10:00
J. Nick Koston
cc75cebfc5
Add support for setting up encrypted samsung tvs from config flow ( #68717 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-27 10:30:45 -10:00
epenet
87378016c1
Add basic support for SamsungTV encrypted models ( #68500 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-22 00:11:41 -10:00
epenet
86b775e46a
Use generic SamsungTVBridge for SamsungTV type hints ( #67942 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-10 07:48:30 -06:00
epenet
9ab56bd5c8
Allow discovery to update invalid unique_id in SamsungTV ( #67859 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 22:27:53 +01:00
epenet
6da38d67ff
Simplify SSDP discovery in SamsungTV ( #67843 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:54:03 +01:00
epenet
e1b57d83c7
Adjust config entry matching in SamsungTV ( #67842 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:30:11 +01:00
epenet
2d4ccddd99
Fix SSDP unique id in SamsungTV config flow ( #67811 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 07:53:59 +01:00
epenet
a60c37cdb8
Expose Samsung wrapper as async ( #67042 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-22 08:31:16 -10:00
epenet
fc3c9b1b4e
Use dataclass properties in samsungtv discovery ( #60595 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:42:42 -10:00
epenet
cbab0ba9c0
Drop base ATTR constants in zeroconf ( #60561 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:29:41 +01:00
epenet
ec1c52d945
Use dataclass for SsdpServiceInfo ( #59931 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
J. Nick Koston
be94ce42a5
Prevent get_mac_address from blocking event loop in samsungtv config flow ( #60246 )
2021-11-24 03:16:09 +01:00
epenet
476a59d248
Adjust async_step_dhcp signature for strict typing ( #59751 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 12:19:50 +01:00
epenet
b3ffc1e183
Adjust async_step_zeroconf signature for strict typing ( #59503 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
Marc Mueller
70469e0979
Use assignment expressions 23 ( #58180 )
2021-10-22 11:13:05 +02:00
Simone Chemelli
4160a5ee3b
Strict typing for SamsungTV ( #53585 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-17 18:51:07 -10:00
Simone Chemelli
2025afe14b
Add MAC to SamsungTV when missing ( #53479 )
...
* Add MAC when missing
* Fix I/O
* Add test for missing MAC address
2021-07-26 16:43:05 +02:00
Simone Chemelli
13c142a402
Fix Soundbar exclusion from SamsungTV ( #51023 )
...
* Improved check
* Fix tests
* Fix logic and tests
* Update tests
2021-07-12 08:58:53 +02:00
J. Nick Koston
a71af8e9d3
Abort samsungtv config flow for existing hosts when the unique id is set ( #52138 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-25 10:31:33 -10:00
J. Nick Koston
5695710463
Add mac address to samsungtv config entry data if missing ( #51634 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-24 08:15:16 -10:00
J. Nick Koston
ab490bc769
Ensure samsungtv reloads after reauth ( #51714 )
...
* Ensure samsungtv reloads after reauth
- Fixes a case of I/O in the event loop
* Ensure config entry is reloaded
2021-06-10 19:23:00 +02:00
J. Nick Koston
8c00c24234
Ensure host is always set with samsungtv SSDP discovery ( #51527 )
...
There was a case where self._host could have been None
before _async_set_unique_id_from_udn was called
Fixes #51186
2021-06-06 00:02:36 +02:00
Simone Chemelli
3d8804bbcf
Improve logging for SamsungTV ( #51477 )
2021-06-04 09:02:39 -07:00
J. Nick Koston
b3d826f2e2
Fix samsungtv yaml import without configured name ( #51204 )
2021-05-28 16:06:17 +02:00
Simone Chemelli
b9a0fb93eb
Add samsungtv dhcp and zeroconf discovery ( #48022 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-22 10:41:18 -05:00
Franck Nijhof
8eb27374c6
Clean up connection classes in integrations P-S ( #49893 )
2021-04-30 21:04:44 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler ( #46462 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
zetvio
78b4c3981f
Use reference strings in Samsung TV config flow ( #41248 )
...
* Use reference strings in samsungtv config flow
* Adjust samsungtv config flow tests
2020-10-05 11:45:35 +02:00