Skip to content

Commit

Permalink
Merge pull request #18 from bruxy70/development
Browse files Browse the repository at this point in the history
Library version upgrade
  • Loading branch information
bruxy70 authored Dec 3, 2019
2 parents 18adb69 + b0bc7ec commit 715da44
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions custom_components/cz_pub_tran/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from homeassistant.helpers.entity import Entity, async_generate_entity_id
import asyncio
from homeassistant.helpers.event import async_call_later
# from integrationhelper.const import CC_STARTUP_VERSION
from integrationhelper.const import CC_STARTUP_VERSION

_LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -106,9 +106,9 @@ async def async_setup_entry(hass, config_entry):
hass.async_create_task(hass.config_entries.async_remove(config_entry.entry_id))
return False
# Print startup message
# _LOGGER.info(
# CC_STARTUP_VERSION.format(name=DOMAIN, version=VERSION, issue_link=ISSUE_URL)
# )
_LOGGER.info(
CC_STARTUP_VERSION.format(name=DOMAIN, version=VERSION, issue_link=ISSUE_URL)
)
config_entry.options = config_entry.data
config_entry.add_update_listener(update_listener)
# Add sensor
Expand Down
9 changes: 8 additions & 1 deletion custom_components/cz_pub_tran/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
"domain": "cz_pub_tran",
"name": "CZ Public Transport",
"documentation": "https://github.com/bruxy70/CZ-Public-Transport/",
"requirements": ["czpubtran>=0.1.21"],
"requirements": [
"asyncio",
"czpubtran>=0.1.23",
"datetime",
"integrationhelper",
"uuid",
"voluptuous"
],
"config_flow": true,
"dependencies": [],
"codeowners": ["@bruxy70"]
Expand Down
1 change: 0 additions & 1 deletion custom_components/cz_pub_tran/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
from homeassistant.core import HomeAssistant, State
from homeassistant.helpers.entity import Entity, async_generate_entity_id
import asyncio
from homeassistant.helpers.event import async_call_later

_LOGGER = logging.getLogger(__name__)

Expand Down

0 comments on commit 715da44

Please sign in to comment.