Commit graph

13 commits

Author SHA1 Message Date
dougiteixeira
43a7247dde
Move ProxmoxEntity to entity.py ()
* Move ProxmoxEntity to entity.py

* Update homeassistant/components/proxmoxve/entity.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/proxmoxve/entity.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/proxmoxve/entity.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/proxmoxve/entity.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/proxmoxve/binary_sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-29 23:04:37 +02:00
dougiteixeira
190393c6bb
Improve Proxmox VE type hints ()
* Improves some type hints in Proxmox VE

* update

* update]

* fix isort

* Fix vm_id type

* Fix vm_id type

* Update homeassistant/components/proxmoxve/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/proxmoxve/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Change initialization of _proxmox

* Move definition of _proxmox to class level

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-28 10:17:33 +02:00
epenet
bb3e0633a4
Add init return type to integrations ()
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
474844744b
Improve entity type hints [p] () 2022-09-06 09:51:33 +02:00
Corbeno
90dba36f80
Proxmoxve code cleanup ()
code cleanup
2022-06-16 07:35:58 +02:00
Corbeno
a77ea1c390
Add device class to proxmoxve binary sensor ()
* add device class property to binary sensor

* add newline
2022-06-15 08:49:55 +02:00
epenet
545b10a711
Add binary_sensor setup type hints [o-r] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 11:35:02 +01:00
Marc Mueller
d5116810d4
Use assignment expressions 08 () 2021-10-17 20:02:42 +02:00
Corbeno
eac1041277
Create DataUpdateCoordinator for each proxmoxve vm/container ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-11 17:14:11 -10:00
tkdrob
a5a45f29e2
Cleanup unused loggers () 2021-02-14 13:46:58 +01:00
Corbeno
4bca9596ee
Rework Proxmoxve to use a DataUpdateCoordinator ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-14 11:31:37 +01:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ()
* 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
Jonas
829e0a7c42 Add Proxmox VE integration ()
* Added the Proxmox VE integration

* Fixed code as described in PR 

* Fixed small linting error

* Fix code as described in PR  code review

* Improve code as described in PR 
2019-11-22 23:03:41 +01:00