在HA里使用的上海公交车车哦
安装
将本项目【ha_shbus文件夹】复制到HA的custom_components文件夹中
插件配置
然后在configuration.yaml中配置以下内容
# 上海公交
# name: 公交车(没有会安装失败)
# direction: 方向(默认:1)
# stop_id: 监测第几站
sensor:
- platform: ha_shbus
name: 748路(71路支线3)
direction: 1
stop_id: 10
- platform: ha_shbus
name: 748路(71路支线3)
direction: 0
stop_id: 6
- 修复不能查询的问题
- 解决缓存问题
- 实时公交到站时间
- 查询公交到站信息