Joakim Sørensen
09c51da3a2
Add analytics integration ( #48256 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-29 17:20:11 -07:00
Marc Mueller
5cdd945f44
Update typing 08 ( #48058 )
2021-03-18 09:25:40 +01:00
Martin Hjelmare
d3721bcf26
Add zwave_js add-on manager ( #47251 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-02 14:22:42 -08:00
Raman Gupta
3c290c9a44
Address late hassio review ( #47229 )
...
* hassio code cleanup to address comments in #46342
* fix code
2021-03-01 12:10:51 -05:00
Raman Gupta
0592309b65
Add hassio addon_update service and hassio config entry with addon and OS devices and entities ( #46342 )
...
* add addon_update service, use config flow to set up config entry, create disabled sensors
* move most of entity logic to common entity class, improve device info, get rid of config_flow user step
* fix setup logic
* additional refactor
* fix refactored logic
* fix config flow tests
* add test for addon_update service and get_addons_info
* add entry setup and unload test and fix update coordinator
* handle if entry setup calls unload
* return nothing for coordinator if entry is being reloaded because coordinator will get recreated anyway
* remove entry when HA instance is no longer hassio and add corresponding test
* handle adding and removing device registry entries
* better config entry reload logic
* fix comment
* bugfix
* fix flake error
* switch pass to return
* use repository attribute for model and fallback to url
* use custom 'system' source since hassio source is misleading
* Update homeassistant/components/hassio/entity.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* update remove addons function name
* Update homeassistant/components/hassio/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* fix import
* pop coordinator after unload
* additional fixes
* always pass in sensor name when creating entity
* prefix one more function with async and fix tests
* use supervisor info for addons since list is already filtered on what's installed
* remove unused service
* update sensor names
* remove added handler function
* use walrus
* add OS device and sensors
* fix
* re-add addon_update service schema
* add more test coverage and exclude entities from tests
* check if instance is using hass OS in order to create OS entities
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-01 09:41:04 +01:00
tkdrob
4fdb617e22
Clean up constants ( #46924 )
...
* Clean up constants
* fix imports
2021-02-23 09:56:44 +01:00
Joakim Sørensen
3e82509263
Use string instead of slug for add-on slug validation ( #46784 )
2021-02-19 15:23:59 +01:00
Joakim Sørensen
886067a327
Add websocket handlers to hassio ( #46571 )
2021-02-15 18:18:45 +01:00
Martin Hjelmare
9043b7b214
Add ozw add-on discovery and mqtt client ( #43838 )
2020-12-02 20:03:29 +01:00
Martin Hjelmare
2f73590714
Increase Supervisor add-on helper timeout ( #43778 )
2020-11-30 20:40:31 +01:00
Joakim Sørensen
403514ccb3
Add system health section for the Supervisor ( #43074 )
2020-11-11 20:12:24 +01:00
Martin Hjelmare
6c5ef0970a
Add ozw config flow add-on management ( #42421 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-09 13:30:19 +01:00
Martin Hjelmare
da6bdd4464
Add supervisor set add-on options helper ( #41651 )
2020-10-15 23:38:53 +02:00
Martin Hjelmare
27c5594cda
Add supervisor add-on stop helper ( #40501 )
2020-09-23 17:54:07 +02:00
Martin Hjelmare
ccff7f97cb
Add supervisor helper to start add-on ( #40495 )
2020-09-23 17:05:28 +02:00
Martin Hjelmare
1d7754f160
Add supervisor add-on uninstall helper ( #40413 )
2020-09-21 19:25:06 +02:00
Martin Hjelmare
2ef3dfb673
Fix supervisor get addon info ( #40412 )
2020-09-21 16:26:09 +02:00
Martin Hjelmare
a0df6ccb81
Add supervisor install add-on helper ( #40138 )
2020-09-21 10:28:24 +02:00
Franck Nijhof
5f95b5caaf
Fix lastest version in updater for Supervisor enabled installs ( #38773 )
...
* Fix lastest version in update for Supervisor enabled installs
* Fix updater tests
2020-08-12 08:00:38 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Courtenay
0f8b934e68
Change log url in config check error notification ( #37311 )
2020-07-02 14:14:17 +02:00
Paulus Schoutsen
de12c21ce7
Fire config changed event during start ( #36812 )
2020-06-15 15:22:53 -07:00
Martin Hjelmare
db8d4053d6
Add supervisor get addon info helper ( #36260 )
2020-06-02 11:11:23 -07:00
Ohad Levy
3ac376ebca
Fix hassio log message typo ( #36194 )
...
minor contribution - thanks for HA :)
2020-05-27 23:07:30 +02:00
Franck Nijhof
eddb5c6c3f
Add more system information from Supervisor ( #35560 )
2020-05-12 15:27:34 -07:00
Martin Hjelmare
c3decc6531
Do not ban supervisor ip if set ( #33781 )
...
* Use asynctest patch instead of mock_coro
* Add test for supervisor ip ban
* Do not ban supervisor ip if set
* Extract supervisor ip helper
* Check supervisor ip before banning
* Remove added blank line
* Clean up get supervisor ip
Co-Authored-By: Pascal Vizeli <pvizeli@syshack.ch>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-04-08 10:31:44 -07:00
Paulus Schoutsen
82c8f18bc7
Fix hassio panel load ( #32922 )
...
* Fix loading hassio panel
* Remove blacklist
2020-03-17 17:54:57 -07:00
Franck Nijhof
431a3a6b44
Re-branding of Hass.io panel to Supervisor ( #31480 )
2020-02-05 11:04:17 +01:00
Pascal Vizeli
4731f7c721
Hass.io allow to reset password with CLI ( #30755 )
...
* Hass.io allow to reset passwort with CLI
* Add improvments
* fix comments
* fix lint
* Fix tests
* more tests
* Address comments
* sort imports
* fix test python37
2020-01-14 23:49:56 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
00dc721609
sort imports according to PEP8 for hassio ( #29634 )
2019-12-08 16:33:22 +01:00
Fredrik Erlandsson
22e7cb11f4
Change persistent notification about dev-info panel ( #27441 )
...
* there is no dev-info panel anymore
* Update __init__.py
* Update __init__.py
2019-10-12 12:58:52 -07:00
Franck Nijhof
decf13b948
Use literal string interpolation in core (f-strings) ( #26166 )
2019-08-23 09:53:33 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
820b381a8d
Update Hass.io when core config is updated ( #24461 )
...
* Update Hass.io when core config is updated
* Lint
* Fix tests
* Lint sigh
2019-06-10 16:05:43 -07:00
Pascal Vizeli
3e443d253c
Hass.io Add-on panel support for Ingress ( #23185 )
...
* Hass.io Add-on panel support for Ingress
* Revert part of discovery startup handling
* Add type
* Fix tests
* Add tests
* Fix lint
* Fix lint on test
2019-04-19 09:43:47 +02:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Pascal Vizeli
6829ecad9d
Hass.io ingress ( #22505 )
...
* Fix API stream of snapshot / Add ingress
* fix lint
* Fix stream handling
* Cleanup api handling
* fix typing
* Set proxy header
* Use header constant
* Enable the ingress setup
* fix lint
* Fix name
* Fix tests
* fix lint
* forward params
* Add tests for ingress
* Cleanup cookie handling with aiohttp 3.5
* Add more tests
* Fix tests
* Fix lint
* Fix header handling for steam
* forward header too
* fix lint
* fix flake
2019-04-01 14:16:16 +02:00
Pascal Vizeli
3fddf5df08
Enable hass.io panel without ping ( #22388 )
...
* Enable hass.io panel without ping
* fix tests
2019-03-26 07:38:25 -07:00
Paulus Schoutsen
65432ba552
Move core stuff into Home Assistant integration ( #22407 )
...
* Move core stuff into Home Assistant integration
* Lint
2019-03-26 13:38:32 +01:00
Paulus Schoutsen
f1a0ad9e4a
Frontend indicate require admin ( #22272 )
...
* Allow panels to indicate they are meant for admins
* Panels to indicate when they require admin access
* Do not return admin-only panels to non-admin users
* Fix flake8
2019-03-25 10:04:35 -07:00
Pascal Vizeli
ecfe0fc3dd
Remove config check over supervisor ( #22156 )
...
* Remove config check over supervisor
* Fix lint
* Fix tests
2019-03-18 16:58:48 -07:00
Fabian Affolter
3736120c6a
Update file header ( #21061 )
...
* Update file header
* Fix lint issue
* Fix lint issue
2019-02-14 16:01:46 +01:00
Paulus Schoutsen
d1a621601d
No more opt-out auth ( #18854 )
...
* No more opt-out auth
* Fix var
2018-12-02 16:32:53 +01:00
Paulus Schoutsen
8b8629a5f4
Add permission checks to Rest API ( #18639 )
...
* Add permission checks to Rest API
* Clean up unnecessary method
* Remove all the tuple stuff from entity check
* Simplify perms
* Correct param name for owner permission
* Hass.io make/update user to be admin
* Types
2018-11-25 18:04:48 +01:00
Pascal Vizeli
0ddd502d00
Hass.io config check ( #18576 )
2018-11-20 13:30:09 +01:00
Pascal Vizeli
e2fca0691e
Fix log error message ( #18305 )
...
* Fix log error message
* Update __init__.py
2018-11-08 00:33:51 +01:00
Pascal Vizeli
40e0966d7f
Hassio auth ( #17274 )
...
* Create auth.py
* Update auth.py
* Update auth.py
* Update __init__.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Add tests
* Update test_auth.py
* Update auth.py
* Update test_auth.py
* Update auth.py
2018-10-10 14:07:51 +02:00
Pascal Vizeli
704c9d8582
Add support for Hass.io discovery feature for Add-ons ( #17035 )
...
* Update handler.py
* Update __init__.py
* Update handler.py
* Update __init__.py
* Create discovery.py
* Update handler.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update struct
* Update handler.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* fix lint
* Update discovery.py
* cleanup old discovery
* Update discovery.py
* Update discovery.py
* Fix lint
* Fix tests
* Write more tests with new functions
* Update test_handler.py
* Create test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Fix test
* Add test
* fix lint
* Update handler.py
* Update discovery.py
* Update test_discovery.py
* fix lint
* Lint
2018-10-03 13:10:38 +02:00
cdce8p
b24f9f5dfa
Async syntax 3/8 ( #17017 )
...
* Async syntax 3, device_tracker & fan & hassio & image_processing & input
* Pylint fixes
2018-10-01 08:59:45 +02:00