Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bizkaibus, Biscays (Spain) bus service component #22934

Merged
merged 19 commits into from May 5, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Fixed API correrct call

  • Loading branch information...
UgaitzEtxebarria committed Apr 14, 2019
commit 87bc415fbd3f1cd4f8bc1f001106f8795b0e7225
@@ -11,7 +11,7 @@
from homeassistant.const import CONF_NAME
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.helpers.entity import Entity
from bizkaibus import BizkaibusData
from bizkaibus.bizkaibus import BizkaibusData

import xml.etree.ElementTree as ET

@@ -41,7 +41,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
stop = config.get(CONF_STOP_ID)
route = config.get(CONF_ROUTE)

data = BizkaibusData(stop, route)
data = Bizkaibus(stop, route)
add_entities([BizkaibusSensor(data, stop, route, name)], True)


ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.