Skip to content

Adding a (friendly) name to a sensor #26

@DamianosS

Description

@DamianosS

When creating these sensors

# 60 Hietzing towards Westbahnhof - first
- platform: wienerlinien
  firstnext: first
  stops:
    - '1630'

# 60 Hietzing towards Westbahnhof - next
- platform: wienerlinien
  firstnext: next
  stops:
    - '1630'

# 56A Hietzing towards BhF Atzgersdorf - first
- platform: wienerlinien
  firstnext: first
  stops:
    - '3752'

# 56A Hietzing towards BhF Atzgersdorf - next
- platform: wienerlinien
  firstnext: next
  stops:
    - '3752'

the created entities are

sensor.franz_asenbauer_gasse_first_departure
sensor.franz_asenbauer_gasse_first_departure_2
sensor.franz_asenbauer_gasse_next_departure
sensor.franz_asenbauer_gasse_next_departure_2

adding "name" or "friendly_name" to the sensor definition doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions