diff --git a/custom_components/proxmoxve/button.py b/custom_components/proxmoxve/button.py index 944e9e9..4eb3078 100644 --- a/custom_components/proxmoxve/button.py +++ b/custom_components/proxmoxve/button.py @@ -191,8 +191,7 @@ async def async_setup_entry( if ( (api_category := description.api_category) and ProxmoxType.QEMU in api_category - or api_category is None - ): + ) or api_category is None: buttons.append( create_button( coordinator=coordinator, @@ -222,8 +221,7 @@ async def async_setup_entry( if ( (api_category := description.api_category) and ProxmoxType.LXC in api_category - or api_category is None - ): + ) or api_category is None: buttons.append( create_button( coordinator=coordinator, diff --git a/requirements.txt b/requirements.txt index d3bf08c..a381e60 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ colorlog==6.9.0 homeassistant==2024.12.1 pip>=21.3.1 proxmoxer==2.1.0 -ruff==0.7.2 \ No newline at end of file +ruff==0.8.2 \ No newline at end of file