Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shaonianzhentan/xiaomi_radio
在HA使用的小米空调伴侣里的收音机
https://github.com/shaonianzhentan/xiaomi_radio
Last synced: 13 days ago
JSON representation
在HA使用的小米空调伴侣里的收音机
- Host: GitHub
- URL: https://github.com/shaonianzhentan/xiaomi_radio
- Owner: shaonianzhentan
- License: mit
- Created: 2021-07-17T11:49:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-13T11:58:34.000Z (about 1 year ago)
- Last Synced: 2024-10-04T20:41:26.454Z (about 1 month ago)
- Language: Python
- Size: 48.8 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xiaomi_radio
在HA使用的小米空调伴侣里的收音机[![hacs_badge](https://img.shields.io/badge/Home-Assistant-%23049cdb)](https://www.home-assistant.io/)
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg)](https://github.com/hacs/integration)
![visit](https://visitor-badge.laobi.icu/badge?page_id=shaonianzhentan.xiaomi_radio&left_text=visit)## 使用方式
安装完成重启HA,刷新一下页面,在集成里搜索`小米电台`即可
[![Add Integration](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start?domain=xiaomi_radio)
整点报时
[![导入蓝图](https://my.home-assistant.io/badges/blueprint_import.svg)](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2Fshaonianzhentan%2Fxiaomi_radio%2Fblob%2Fmain%2Fblueprints%2Ftime_reminder.yaml)
TTS服务
```yaml
service: xiaomi_radio.tts
data:
text: >-
现在的时间是 {%- if now().hour < 12 -%} 上午 {%- elif now().hour == 12 -%} 中午
{%- elif now().hour <= 18 -%} 下午 {%- else -%} 晚上 {%- endif %} {{now().strftime("%I:%M")}}
```## 更新日志
- 集成默认红外码文件
- 支持集成安装## 如果这个项目对你有帮助,请我喝杯
咖啡奶茶吧😘
| |支付宝|微信|
|---|---|---|
奶茶= | |## 关注我的微信订阅号,了解更多HomeAssistant相关知识
---
**在使用的过程之中,如果遇到无法解决的问题,付费咨询请加Q`635147515`**