Commit graph

68 commits

Author SHA1 Message Date
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
epenet
21b92455af
Move and rename envisalink base entity to separate module (#126054) 2024-09-16 15:20:53 +02:00
Jan-Philipp Benecke
d070fd40a3
Use debug/warning instead of info log level in components [e] (#125970) 2024-09-14 23:41:06 +02:00
G Johansson
1f59bd9f92
Don't show input panel if default code provided in envisalink (#125256) 2024-09-04 21:49:28 +02:00
Erik Montnemery
fce2e21c9f
Update icons.json to new service schema part 1 (#124768) 2024-08-28 13:47:02 +02:00
Jay
8397d6a29f
Envisalink add arming as a state to alarm control panel (#119702)
Envisalink Add Arming as a State
2024-06-14 21:51:20 +02:00
G Johansson
09ba9547ed
Fix envisalink alarm (#119212) 2024-06-09 18:14:46 +02:00
Allister Maguire
5c60a5ae59
Bump pyenvisalink version to 4.7 (#118086) 2024-05-25 11:16:51 +02:00
Joost Lekkerkerker
70286b38ec
Fix icon mistakes (#113420) 2024-03-14 14:49:20 +01:00
Joost Lekkerkerker
141bdf33df
Add service icons to Envisalink (#113292) 2024-03-14 13:48:58 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] (#112698) 2024-03-08 14:15:26 +01:00
Joost Lekkerkerker
730d805876
Enable SIM114 ruff rule (#111125) 2024-02-23 13:21:59 +01:00
ufodone
9907e11b03
Remove code owner for envisalink integration (#103864) 2023-11-27 09:59:18 +01:00
Jan Bouwhuis
63852c565f
Use hass.loop.create_future() in envisalink (#100057) 2023-09-10 11:25:25 -05:00
Franck Nijhof
ea3be7a789
Migrate integration services (E-F) to support translations (#96367) 2023-07-11 23:57:29 +02:00
Erik Montnemery
78c9b70c8d
Sort manifests 3 (#87024) 2023-02-08 20:19:19 +01:00
epenet
a46c25d2c8
Use _attr_should_poll in components [a-g] (#77268) 2022-08-26 10:15:33 +02:00
epenet
3a3f41f3df
Improve entity type hints [e] (#77041) 2022-08-20 07:52:55 +02:00
ufodone
e56357b4f2
Bump pyenvisalink version to 4.6 (#74561) 2022-07-07 09:33:32 +02:00
Daniel Baulig
73bff4dee5
Expose Envisalink's zone number as an attribute (#71468)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 10:30:55 -05:00
epenet
29c389b342
Adjust remaining type hints in alarm properties (#74126) 2022-06-28 15:22:46 +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
Rechner Fox
45142558ef
Bump pyenvisalink to 4.5 (#73663)
* Bump pyenvisalink to latest version 4.5

* Minor bugfixes:
* Prevent reconnects from being scheduled simultaneously
* Fix parsing keypad messages containing extra commas

* Add pyenvisalink updated dependency
2022-06-19 08:54:10 +02:00
Franck Nijhof
1e4aacaeb1
Replace Alarm Control Panel FORMAT_ constants with CodeFormat enum (#69861) 2022-04-18 19:37:32 +02:00
epenet
78045df227
Use EntityFeature enum in components (e**) (#69384) 2022-04-06 11:03:29 +02:00
ufodone
49a41ebe14
Disable zone bypass switch feature (#66243)
* Add configuration option to disable the creation of zone bypass switches

* Removed temporary workaround and bumped pyenvisalink version to pick up the correct fix.

* Remove zone bypass configuration option and disable zone bypass switches per code review instructions.
2022-02-11 11:38:50 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
ufodone
10efeb2935
Create zone bypass switches for DSC panels (#63200)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 17:21:58 -10:00
epenet
183a739968
Check discovery_info is available and add setup type hints (#63782)
* Add setup type hints to ebusd

* Add setup type hints to envisalink

* Add setup type hints to sisyphus

* Add setup type hints to iperf3

* Add setup type hints to greeneye_monitor

* Revert "Add setup type hints to iperf3"

This reverts commit 9a382e4ba3.

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-16 22:34:05 +01:00
epenet
277c12cf64
Add setup type hints to envisalink (#63785)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 13:39:52 +01:00
epenet
c7cb26cbab
Use Platform enum in load_platform [a-l] (#63750) 2022-01-10 10:30:47 +01:00
epenet
656d383ba6
Ensure service calls are typed [e-g] (#62912)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +01:00
Marc Mueller
a48ddcadd4
Use assignment expressions 31 (#58715) 2021-10-30 16:29:07 +02:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) (#54468) 2021-08-11 18:57:12 +02:00
tkdrob
028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
tkdrob
0eca26607d
Add targets and selectors for services (D-E) (#50190) 2021-05-15 09:25:19 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Erik Montnemery
9e9ba53f0e
Move SensorEntity last in the inheritance tree (#48230) 2021-03-22 20:05:13 +01:00
Erik Montnemery
23b562386f
Migrate integrations d-e to extend SensorEntity (#48211) 2021-03-22 12:52:29 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period (#48064)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() (#47756) 2021-03-11 16:51:03 +01:00
tkdrob
74053b5f2d
Use core constants for envisalink (#46136) 2021-02-07 13:28:40 -05:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
Erik Montnemery
6f7f5b4034
Rename AlarmControlPanel to AlarmControlPanelEntity (#34590) 2020-04-25 18:05:28 +02:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity (#34462)
* Rename BinarySensorDevice to BinarySensorEntity

* Tweak

* Move deprecation warning to __new__, add test

* Move deprecation warning back to __init__

* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) (#33693)
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
springstan
e3bcfb88e7
Improve string formatting v4 (#33668)
* Improve string formatting v4

* Use normal strings instead of f-strings

* Fix zeroconf test by adding back part of a condition
2020-04-05 16:01:41 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass (#33510)
* Unsub dispatcher when removing entity from hass

* Update homeassistant/components/plaato/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/volvooncall/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00