G Johansson
cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum ( #126283 )
...
* Alarm state from enum
* Fixes
* Set final
* Fix rebase
* Test const
* Fix breaking version
* Fix other for alarm_control_panel
* Fix integrations
* More
* More
* More
* More
* Fix zha
* Replace _attr_state
* Fix alarm_control_panel
* Fix tests
* Fixes
* Mods
* Change some
* More
* More
* More
* Tests
* Last tests
* Return enum
* Fix zha
* Remove not needed check
* Fix wording
* Fix homekit
* Mod prometheus
* Fix mypy
* Fix homekit
* Fix ifttt
2024-10-21 22:54:27 +02:00
Fredrik Erlandsson
1768daf98c
Add support for native oauth2 in Point ( #118243 )
...
* initial oauth2 implementation
* fix unload_entry
* read old yaml/entry config
* update tests
* fix: pylint on tests
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev>
* fix constants, formatting
* use runtime_data
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* fix missing import
* adopt to PointData dataclass
* fix typing
* add more strings (copied from weheat)
* move the PointData dataclass to avoid circular imports
* use configflow inspired by withings
* raise ConfigEntryAuthFailed
* it is called entry_lock
* fix webhook issue
* fix oauth_create_entry
* stop using async_forward_entry_setup
* Fixup
* fix strings
* fix issue that old config might be without unique_id
* parametrize tests
* Update homeassistant/components/point/config_flow.py
* Update tests/components/point/test_config_flow.py
* Fix
---------
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-20 12:02:07 +02:00
epenet
e750f8f457
Add alias to DOMAIN import (part 4) ( #125563 )
...
* Add alias to DOMAIN import (part 4)
* Simplify
* More integration
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Revert "Apply suggestions from code review"
This reverts commit 07471d3629
.
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-09-09 21:32:33 +02:00
G Johansson
2a4f7439a2
Fix Alarm control panel not require code in several integrations ( #118961 )
2024-06-06 13:21:30 +02:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] ( #112702 )
2024-03-08 15:04:07 +01:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Erik Montnemery
a71c097aeb
Revert "Allow setting an entity's name by its device class" ( #93539 )
2023-05-25 17:20:54 +02:00
Erik Montnemery
67c1051305
Allow setting an entity's name by its device class ( #90767 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-09 18:55:55 +02:00
epenet
45cdfa1049
Use attributes in point alarm ( #74111 )
2022-06-28 12:53:50 +02:00
epenet
8e1ec07f3d
Adjust type hints in component alarm methods ( #74092 )
...
* Adjust type hints in component alarm methods
* Undo related change
* Undo related change
2022-06-28 10:00:23 +02:00
epenet
80a857c6c2
Use EntityFeature enum in components (p**) ( #69434 )
2022-04-07 15:03:42 +02:00
epenet
24fc0df4b0
Add alarm_control_panel setup type hints ( #63264 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 10:57:25 +01:00
Robert Hillis
7ccfaed736
Use DeviceInfo Class P-R ( #58324 )
2021-10-25 18:26:03 +02:00
Fredrik Erlandsson
8bdc824b6c
Update pypoint to use async http requests ( #41546 )
...
* Remove domain after entities
* Add support for async http-requests
* Fix, handle network issues (update _is_available status)
* Fix missing await for alarm_arm
* Fix alarm status
* Update tests to async
* Bump pypoint version
* Fix doc string
* Apply suggestions from code review, remove pylint disable
* Fix black
2020-10-13 08:48:26 +02:00
Erik Montnemery
6f7f5b4034
Rename AlarmControlPanel to AlarmControlPanelEntity ( #34590 )
2020-04-25 18:05:28 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
SukramJ
1fde0d18ed
Add supported_features to Alarm Control Panel to limit device_actions ( #29065 )
...
* Add supported_features to Alarm Control Panel
* mark supported_features abstract
* Add SF to async_register_entity_service
* fix test
* Add missing SF SUPPORT_ALARM_ARM_CUSTOM_BYPASS
* isort
* fix async_register_entity_service
* Update alarm_control_panel.py
2019-11-25 15:42:53 -08:00
Franck Nijhof
1c5e0123c9
Use literal string interpolation in integrations N-Q (f-strings) ( #26391 )
2019-09-03 11:35:00 -07:00
Fredrik Erlandsson
15ab004e98
fix alarm webhooks ( #26062 )
2019-08-19 14:00:47 +02:00
Ville Skyttä
a54ade1189
Spelling fixes ( #25666 )
2019-08-02 23:20:06 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Fredrik Erlandsson
73099caede
Alarm trigger support for Point ( #21207 )
2019-02-21 06:50:02 +01:00
Fredrik Erlandsson
f3786e2f2b
Point alarm control ( #20972 )
...
* initial working example of alarm_control
* fixes for alarm_control
* arm home is the same as arm away
* updated documentation
* final fixes
* pypoint version up
* fixes for Martin
2019-02-15 12:19:42 +01:00