All Projects → jonkristian → entur-card

jonkristian / entur-card

Licence: Apache-2.0 License
Home Assistant Lovelace card card for the Entur public transport component.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to entur-card

purifier-card
Air Purifier card for Home Assistant Lovelace UI
Stars: ✭ 155 (+307.89%)
Mutual labels:  home-assistant, homeassistant, hacs, lovelace
lovelace-valetudo-map-card
Draws the map available from a Xiaomi Vacuum cleaner flashed with Valetudo in a Home Assistant Lovelace card
Stars: ✭ 149 (+292.11%)
Mutual labels:  home-assistant, homeassistant, hacs, lovelace
hass-shutter-card
Shutter card for Home Assistant Lovelace UI
Stars: ✭ 151 (+297.37%)
Mutual labels:  home-assistant, hacs, lovelace
pymusiccast
Group MusicCast Speakers with Home Assistant
Stars: ✭ 34 (-10.53%)
Mutual labels:  home-assistant, homeassistant, lovelace
ha-config-ataraxis
My Home Assistant Configs. If you like what you see, please ⭐️my repo. It would encourage me a lot 🤘
Stars: ✭ 146 (+284.21%)
Mutual labels:  home-assistant, homeassistant, hacs
sensor.avanza stock
Custom component to get stock data from Avanza for Home Assistant
Stars: ✭ 30 (-21.05%)
Mutual labels:  home-assistant, homeassistant, hacs
ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (-21.05%)
Mutual labels:  home-assistant, homeassistant, hacs
content-card-linky
cardLinky comptatible with sensor apiEnedis
Stars: ✭ 48 (+26.32%)
Mutual labels:  homeassistant, hacs, lovelace
uptime-card
Minimalistic uptime card for Home Assistant Lovelace UI
Stars: ✭ 152 (+300%)
Mutual labels:  home-assistant, hacs, lovelace
hass-livebox-component
Livebox Component for Home assistant
Stars: ✭ 24 (-36.84%)
Mutual labels:  home-assistant, homeassistant, hacs
homeassistant-powercalc
Custom component to calculate estimated power consumption of lights and other appliances
Stars: ✭ 261 (+586.84%)
Mutual labels:  home-assistant, homeassistant, hacs
decluttering-card
🧹 Declutter your lovelace configuration with the help of this card
Stars: ✭ 186 (+389.47%)
Mutual labels:  home-assistant, homeassistant, lovelace
lovelace-battery-entity-row
Show battery states or attributes with dynamic icon on entity rows in Home Assistant's Lovelace UI
Stars: ✭ 49 (+28.95%)
Mutual labels:  home-assistant, hacs, lovelace
linak-desk-card
Home Assistant Lovelace Card for controlling desks based on linak bluetooth controller.
Stars: ✭ 26 (-31.58%)
Mutual labels:  home-assistant, hacs, lovelace
hass-hue-icons
Additional vector icons for home assistant to model Philips Hue bulbs and fixtures.
Stars: ✭ 161 (+323.68%)
Mutual labels:  home-assistant, homeassistant, hacs
hass-pandora-cas
Home Assistant custom component for Pandora Car Alarm System
Stars: ✭ 15 (-60.53%)
Mutual labels:  home-assistant, homeassistant, hacs
Home-Assistant-custom-components-DPC-Alert
Italy Meteo-hydro alert and hydrogeological phenomena Civil Protection (Protezione Civile). In this custom component you can find the vigilance Bulletin and the Bulletin of national hydrogeological and hydraulic criticalities. They allow to check whether in your current location there will be criticalities/warnings related to weather-hydrogeolog…
Stars: ✭ 31 (-18.42%)
Mutual labels:  home-assistant, homeassistant, hacs
home-assistant-frigidaire
Custom component for the Frigidaire integration
Stars: ✭ 11 (-71.05%)
Mutual labels:  home-assistant, homeassistant, hacs
slider-button-card
A button card with integrated slider
Stars: ✭ 319 (+739.47%)
Mutual labels:  homeassistant, hacs, lovelace
openrgb ha
OpenRGB integration for Home Assistant
Stars: ✭ 40 (+5.26%)
Mutual labels:  home-assistant, homeassistant, hacs

Entur Card

hacs_badge

This card is made to work with the Entur public transport component. You will have to configure the Entur component before you can use this card. To easily extract stop id's from entur you can log in here with username and password guest.

image.png

⚠️ Unfortunately there is currently no provided method to define a start and a stop station with entur. But you can add a whitelist of lines so that you can force only relevant results.

Installation

  • Copy the entur-card.js file to your config/www
  • Add entur-card.js as a dependency in your ui-lovelace.yaml
resources:
  - url: /local/entur-card.js?v=1
    type: js

⚠️ Make sure you change v=1 to a higher number every time you update your card with new code!

Options for card

CONFIGURATION VARIABLES

type (string)(Required) custom:entur-card

name (string)(Required) Name of the card

show_clock (boolean) Display clock

show_next (boolean) Display next line if true

show_human: (boolean)(Optional) Display human readable time if true

show_extra_departures: (boolean) Requires number_of_departures defined in your entur compontent.

entities (list)(Required) A list of entity IDs or entity objects, see below.

Options For Entities

If you define entities as objects instead of strings, you can add more customization and configuration:

CONFIGURATION VARIABLES

entity (string)(Required) Home Assistant entity ID.

name (string)(Optional) Overwrites friendly name.

destination (string)(Optional) Destination to show in title (Only for visual representation).

Configure the new card inside ui-lovelace.yaml

Example configuration for this card.

- type: custom:entur-card
  name: Rutetider
  show_clock: true
  show_next: true
  show_human: true
  show_extra_departures: true
  entities:
    - entity: sensor.transport_studentersamfundet
      name: Studentersamfundet
      destination: Halstein Gård
    - entity: sensor.transport_trondheim_s_platform_4
      name: Trondheim Sentralbanestasjon
    - entity: sensor.transport_trondheim_lufthavn
      name: Trondheim lufthavn

⭐️ this repository if you found it useful ❤️

Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].