Git Product home page Git Product logo

ha-lta's Introduction

Hello there!

Welcome to my GitHub!

  • ๐Ÿ‘‹ Hi, Iโ€™m @Codestian
  • ๐Ÿ—๏ธ Iโ€™m interested in anything that involves building, putting things together
  • ๐Ÿ–ฅ๏ธ Iโ€™m currently learning software engineering in SIT
  • ๐Ÿš€ I like Minecraft, Cyberpunk and Star Wars

My Projects

  • ha-lta (ltapysg)
    • Home Assistant Custom Component to check SG bus timings
  • HomeAssistantMC
    • A Minecraft mod which allows you to retrieve states and run services from Home Assistant
  • MqttCraft
    • A Minecraft mod which dynamically retrieves in-game attributes via MQTT
  • mc-latlng
    • An Applescript for macOS Automator to automate pasting coordinates from map providers into Minecraft BTE.
  • BTE Singapore
    • A collaborative project to build the earth in Minecraft, under BTE ASEAN. I am currently building the Northeast Region.

ha-lta's People

Contributors

codestian avatar ficusdragoneta avatar jl9678 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ha-lta's Issues

Can select only one stop

Hi there.. not an issue.. but rather a question... is there options to select more than 1 bus stop?

Excessive Logging

Is there any way to prevent each update of the sensor to show up in the logs?

HA log warning for deprecated constant

Logger: homeassistant.const
Source: helpers/deprecation.py:205

TIME_MINUTES was used from ha-lta, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'ha-lta' custom integration

Where to specify API key

Hi, thanks for the integration.

Could I clarify where the DataMall API key should be specified? The example configuration does not make it clear.

Error for the integration.

Logger: homeassistant.components.sensor
Source: custom_components/lta/sensor.py:145
Integration: Sensor (documentation, issues)
First occurred: 09:03:02 (1 occurrences)
Last logged: 09:03:02

Error while setting up lta platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/lta/sensor.py", line 145, in async_setup_platform
BusArrivalSensor(coordinator, idx) for idx, ent in enumerate(coordinator.data)
TypeError: 'NoneType' object is not iterable

error setting up sensor

after upgrading to 10.3. i keep on getting "unavailable" timings with detail logs below.

Logger: homeassistant.components.sensor
Source: custom_components/lta/sensor.py:195
Integration: Sensor (documentation, issues)
First occurred: 4:47:21 PM (1 occurrences)
Last logged: 4:47:21 PM

Error while setting up lta platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/lta/sensor.py", line 195, in async_setup_platform
BusArrivalSensor(coordinator, idx) for idx, ent in enumerate(coordinator.data)
TypeError: 'NoneType' object is not iterable

I failed to get the integration from HACS

Hi guy, I like this integration a lot. I try to get this integration from HACS but seem I'm not able to find it. At the moment I manually download. I would like to receive notification from HACS whenever there is an update. Below is my HA version.

Home Assistant 2022.7.7
Supervisor 2022.07.0
Frontend 20220707.1 - latest

Unable to locate sensor

Hi brother,
Firstly, thank you for creating this.

Followed manual installation process to have the files in config/custom_components/ha-lta/

image

below inserted into configuration.yaml

#ha-lta
sensor:

  • platform: lta
    api_key: !secret lta_apikey
    bus_stops:
    • code: 'XXXXX'
      buses:
      • 'XXX'

Unable to find sensor entity after restarting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.