From 79786ca8fbb0997acec6bc3052893e271491def9 Mon Sep 17 00:00:00 2001 From: Jadon <10365495-wolffs@users.noreply.gitlab.com> Date: Sat, 12 Aug 2023 13:31:59 +0200 Subject: [PATCH] chore: bump version --- custom_components/audiobookshelf/const.py | 2 +- custom_components/audiobookshelf/manifest.json | 2 +- pyproject.toml | 2 +- tests/test_entity.py | 6 ++---- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/custom_components/audiobookshelf/const.py b/custom_components/audiobookshelf/const.py index c51656f..555d8ad 100644 --- a/custom_components/audiobookshelf/const.py +++ b/custom_components/audiobookshelf/const.py @@ -6,7 +6,7 @@ NAME = "Audiobookshelf" DOMAIN = "audiobookshelf" DOMAIN_DATA = f"{DOMAIN}_data" -VERSION = "v0.0.1" +VERSION = "v0.0.2" ATTRIBUTION = "Server by https://www.audiobookshelf.org/" ISSUE_URL = "https://github.com/wolffshots/hass-audiobookshelf/issues" diff --git a/custom_components/audiobookshelf/manifest.json b/custom_components/audiobookshelf/manifest.json index f9059c4..882beec 100644 --- a/custom_components/audiobookshelf/manifest.json +++ b/custom_components/audiobookshelf/manifest.json @@ -8,5 +8,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/wolffshots/hass-audiobookshelf/issues", "requirements": [], - "version": "v0.0.1" + "version": "v0.0.2" } diff --git a/pyproject.toml b/pyproject.toml index 81a5cf2..8e0ddb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ max-complexity = 15 [tool.poetry] name = "audiobookshelf" -version = "1" +version = "v0.0.2" description = "Audiobookshelf HA custom component" authors = ["wolffshots <16850875+wolffshots@users.noreply.github.com>"] readme = "README.md" diff --git a/tests/test_entity.py b/tests/test_entity.py index 5a6125f..a3574f9 100644 --- a/tests/test_entity.py +++ b/tests/test_entity.py @@ -3,9 +3,7 @@ import pytest from pytest_homeassistant_custom_component.common import MockConfigEntry -from custom_components.audiobookshelf.const import ( - DOMAIN, -) +from custom_components.audiobookshelf.const import DOMAIN, VERSION from custom_components.audiobookshelf.entity import AudiobookshelfEntity from .const import MOCK_CONFIG @@ -35,7 +33,7 @@ def test_device_info(mock_coordinator: Mock) -> None: assert entity.device_info == { "identifiers": {("audiobookshelf", "audiobookshelf")}, "manufacturer": "Audiobookshelf", - "model": "v0.0.1", + "model": VERSION, "name": "Audiobookshelf", }