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