escoand
9ee6ae8f94
Better timeout handling in samsungtv integration ( #38759 )
...
* handle PlatformNotReady
* set timeout in bridge
* set timeout in test
* Revert "handle PlatformNotReady"
This reverts commit 118ee06ba016f88abdf767efdf4ef1eacb4e5caa.
2020-08-17 09:28:15 +00:00
escoand
9c6b019ca9
Better timeout handling in samsungtv integration ( #38759 )
...
* handle PlatformNotReady
* set timeout in bridge
* set timeout in test
* Revert "handle PlatformNotReady"
This reverts commit 118ee06ba016f88abdf767efdf4ef1eacb4e5caa.
2020-08-15 20:25:37 +02:00
escoand
b42590c5a9
Catch samsungtv timeout exception ( #35205 )
2020-05-06 18:43:40 -07:00
escoand
f885e97a5b
Catch samsungtv timeout exception ( #35205 )
2020-05-05 02:50:59 +02:00
escoand
996af94bb8
Handle more fritzbox edge cases ( #34802 )
2020-04-28 22:23:52 -07:00
escoand
e03df37417
Add unique_id to fritzbox ( #34716 )
2020-04-28 22:23:48 -07:00
escoand
f64c35c3f9
Handle more fritzbox edge cases ( #34802 )
2020-04-28 22:17:35 -07:00
escoand
8237ccfa03
Add unique_id to fritzbox ( #34716 )
2020-04-27 11:18:32 -07:00
escoand
79135f59fd
Fix fritzbox errors again ( #34710 )
2020-04-27 15:40:42 +02:00
escoand
8402363568
Fix fritzbox errors again ( #34710 )
2020-04-25 23:57:44 -07:00
escoand
f474631ac0
Fix fritzbox integration errors ( #34639 )
2020-04-25 17:30:44 -07:00
escoand
147dfa06af
Fix fritzbox integration errors ( #34639 )
2020-04-25 15:40:26 -07:00
escoand and Martin Hjelmare
c87ecf0ff6
Add config flow and device registry to fritzbox integration ( #31240 )
...
* add config flow
* fix pylint
* update lib
* Update config_flow.py
* remote devices layer in config
* add default host
* avoid double setups of entities
* remove async_setup_platform
* store entities in hass.data
* pass fritz connection together with config_entry
* fritz connections try no4 (or is it even more)
* fix comments
* add unloading
* fixed comments
* Update config_flow.py
* Update const.py
* Update config_flow.py
* Update __init__.py
* Update config_flow.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* add init tests
* test unloading
* add switch tests
* add sensor tests
* add climate tests
* test target temperature
* mock config to package
* comments
* test binary sensor state
* add config flow tests
* comments
* add missing tests
* minor
* remove string title
* deprecate yaml
* don't change yaml
* get devices async
* minor
* add devices again
* comments fixed
* unique_id fixes
* fix patches
* Fix schema
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-04-20 15:00:07 +02:00
escoand
a129bc05ae
Try all Samsung TV websocket ports ( #33001 )
...
* Update bridge.py
* add test
* silence pylint
* correct pylint
* add some tests
* Update test_media_player.py
2020-03-21 16:32:25 -07:00
escoand
2bb29485be
Try all Samsung TV websocket ports ( #33001 )
...
* Update bridge.py
* add test
* silence pylint
* correct pylint
* add some tests
* Update test_media_player.py
2020-03-21 16:50:18 +01:00
escoand
2f2a908573
Fix legacy Samsung TV ( #32719 )
...
* Update bridge.py
* Update test_init.py
2020-03-12 17:02:28 -07:00
escoand
f9a0b4b3cf
Fix legacy Samsung TV ( #32719 )
...
* Update bridge.py
* Update test_init.py
2020-03-12 10:29:11 +01:00
escoand
0823ee4385
Fix exceptions when using newer Samsung TVs ( #31602 )
...
* try to fix websocket problems
* use tuple
* catch websocket exceptions
* typo
2020-02-08 12:03:35 +01:00
escoand
2f2146c989
Samsung TV refinements ( #31248 )
...
* use st not deviceType
* show model in flow title
* Update strings.json
* add re-auth to entity
* add re-auth to config_flow
* handle auth popup better
* use media player domain const
* fix tests
* rename not_found to not_successful
* authz not authn
* Update media_player.py
* Update config_flow.py
* Update media_player.py
* Update test_media_player.py
* finalize re-auth
* fix ssd tests
* better naming
* fix ip-address-mock serialization
* fix turn_on_action serialization
* add type of hass object
* fix acces denied test
* remove half-added typing
* async get ip address
* fix pylint
2020-02-04 09:27:01 -08:00
escoand
4550968316
Samsung TV refinements ( #31248 )
...
* use st not deviceType
* show model in flow title
* Update strings.json
* add re-auth to entity
* add re-auth to config_flow
* handle auth popup better
* use media player domain const
* fix tests
* rename not_found to not_successful
* authz not authn
* Update media_player.py
* Update config_flow.py
* Update media_player.py
* Update test_media_player.py
* finalize re-auth
* fix ssd tests
* better naming
* fix ip-address-mock serialization
* fix turn_on_action serialization
* add type of hass object
* fix acces denied test
* remove half-added typing
* async get ip address
* fix pylint
2020-02-03 20:34:02 +01:00
escoand
d225fc08fe
drop fritzdect ( #31359 )
2020-01-31 14:20:06 -08:00
escoand
ef05aa2f39
Add Samsung TV config flow ( #28306 )
...
* add config flow
* add tests
* add user step error handling
* remove unload function
* add missing test file
* handle authentication correctly
* remove old discovery mode
* better handling of remote class
* optimized abort messages
* add already configured test for user flow
* Import order
* use ip property instead context
* Black
* small syntax
* use snake_case
* Revert "use ip property instead context"
This reverts commit 91502407eb216f8a0b1b90e3e6fb165b81406f8f.
* disable wrong pylint errors
* disable wrong no-member
* Try to fix review comments
* Try to fix review comments
* Fix missing self
* Fix ip checks
* methods to functions
* simplify user check
* remove user errors
* use async_setup for config
* fix after rebase
* import config to user config flow
* patch all samsungctl
* fix after rebase
* fix notes
* remove unused variable
* ignore old setup function
* fix after merge
* pass configuration to import step
* isort
* fix recursion
* remove timeout config
* add turn on action (dry without testing)
* use upstream checks
* cleanup
* minor
* correctly await async method
* ignore unused import
* async call send_key
* Revert "async call send_key"
This reverts commit f37057819fd751a654779da743d0300751e963be.
* fix comments
* fix timeout test
* test turn on action
* Update media_player.py
* Update test_media_player.py
* Update test_media_player.py
* use async executor
* use newer ssdp data
* update manually configured with ssdp data
* dont setup component directly
* ensure list
* check updated device info
* Update config_flow.py
* Update __init__.py
* fix duplicate check
* simplified unique check
* move method detection to config_flow
* move unique test to init
* fix after real world test
* optimize config_validation
* update device_info on ssdp discovery
* cleaner update listener
* fix lint
* fix method signature
* add note for manual config to confirm message
* fix turn_on_action
* pass script
* patch delay
* remove device info update
2020-01-10 03:19:10 +01:00
escoand
430f7bdfd4
Catch samsungtv websocket exceptions ( #28849 )
...
* catch websocket exceptions
* fix syntax
* use exceptions from base class
* add comments
* add test
2019-11-25 10:45:50 +01:00
escoand
0768ae2dc8
Fix flaky YesssSMS tests on debug messages ( #28506 )
2019-11-03 23:56:08 +01:00
escoand
ecf2e9c0ab
Fix flaky Samsung TV tests ( #28503 )
2019-11-03 18:32:01 +01:00
escoand
82729bef70
Show all UPNP/IGD sensors in one device ( #27517 )
...
* show all UPNP/IGD sensors in one device
* use device name correctly
* Use id of device
2019-10-31 20:51:35 +01:00
escoand
9661efc312
Add Samsung TV automatic protocol detection ( #27492 )
...
* added automatic protocol detection
* fix logger tests
* fix async tests
* add missin const.py
* fix log formatting
* wait for first update call
* migrate first tests
* migrated all test functions
* started to use state machine
* updated all tests to use async_setup_component
* slove hints
* update tests
* get state at correct position
* remove impossible tests
* fix autodetect tests
* use caplog fixture
* add test for duplicate
* catch concrete exceptions
* don't mock samsungctl exceptions
* add test for discovery
* get state when possible
* add test for autodetect without connection
2019-10-25 14:32:12 +02:00
escoand and Martin Hjelmare
dc5c1783dc
Webhook for Traccar ( #24762 )
...
* add initial traccar webhook support
* remove unused import
* add tests but disabled atm
* remove translations
* add timestamp parameter
* use post for tests
* rename config_flow
* format using black
* format tests using black
* Use str instead of float
* fix most comments
* check id
* add two device test
* reformat
* fix failuers
* Update tests/components/traccar/test_init.py
Co-Authored-By: Martin Hjelmare <marhje52@kth.se >
* Update tests/components/traccar/test_init.py
Co-Authored-By: Martin Hjelmare <marhje52@kth.se >
* Update tests/components/traccar/test_init.py
Co-Authored-By: Martin Hjelmare <marhje52@kth.se >
* Update tests/components/traccar/test_init.py
Co-Authored-By: Martin Hjelmare <marhje52@kth.se >
* black
2019-08-10 00:14:03 +02:00
escoand
49abda2d49
Use more compatible samsungtv TV key ( #25083 )
...
* use more compatible TV key
* Remove extra spaces
2019-07-12 11:28:30 -07:00
escoand
73008885c8
Add source selection to Samsung TV media player ( #22612 )
...
* add source selection
* return generic list
* remove useless timeout
* Fix test
* Add test for select_source
* Add negative source test
* Change order
* Arghhh
* Add hass object
* Simplify source list
Co-Authored-By: escoand <escoand@users.noreply.github.com >
2019-06-17 15:00:11 -07:00
escoand
3b34594aa3
Add HTTP auth and SSL verification to REST notify ( #22016 )
...
* add HTTP auth and SSL verification
* use internal import
* fix long line
* avoid extra import
2019-03-15 08:43:54 +01:00
escoand
8d5c3a2b91
add volumio discovery ( #14220 )
...
* add volumio discovery
* add missing library
* Update volumio.py
2018-05-01 15:20:38 -04:00
escoand
8e7f500f28
Add precipitation to OpenWeatherMap forecast ( #13971 )
...
* add initial precipitation support
* move attr to component
* remove blank line
* add forecast attributes to platform and update demo
* add tests
* break long lines
* calc lower temp correctly
* move all new attributes to component
* convert temp low only when existing
2018-04-29 17:50:49 +02:00
escoand
cd8935cbd2
Fritzbox netmonitor name ( #13903 )
...
* Addd name to netmonitor
* import conf_name
2018-04-15 15:20:37 +02:00
escoand
5a5dad689b
add support for Kodi discovery ( #13790 )
...
* add support for Kodi discovery
* remove "too many blank lines"
* register service only once
* optimize "workflow"
2018-04-14 08:31:12 -04:00
escoand
a9412d27aa
allow wildcards in subscription ( #12247 )
...
* allow wildcards in subscription
* remove whitespaces
* make function public
* also implement for mqtt_json
* avoid mqtt-outside topic matching
* add wildcard tests
* add not matching wildcard tests
* fix not-matching tests
2018-02-10 13:11:04 -08:00
escoand
cad9e9a4cb
allow wildcards in subscription ( #12247 )
...
* allow wildcards in subscription
* remove whitespaces
* make function public
* also implement for mqtt_json
* avoid mqtt-outside topic matching
* add wildcard tests
* add not matching wildcard tests
* fix not-matching tests
2018-02-09 15:22:50 -08:00
escoand
e9508405bc
Add conditions to forecast ( #12074 )
...
* add conditions to forecast chart
* Fix pylint issues
2018-01-31 13:05:15 +01:00
escoand
4cb1f93019
fixed timestamp problem in firefox ( #12073 )
2018-01-31 11:26:35 +01:00