FakeGatoHistory:Python转码的历史记录

时间:2021-02-16 17:23:01
【文件属性】:
文件名称:FakeGatoHistory:Python转码的历史记录
文件大小:120KB
文件格式:ZIP
更新时间:2021-02-16 17:23:01
Python 假冒历史 Python已转码,可与HAP-Python附件类一起使用。 基于的出色工作。 没有外部持久性数据(例如Google驱动器等),只有本地存储({'storage':'fs'}-您的本地文件) 每天都会清除持久性数据 通过将“房间”,“电源”和“天气”绑定到HAP-Python桥进行测试 有关限制和示例,请参见 。 您需要将服务和特征添加到pyhap / ressources中。 (请参见history.py) 为了进行快速测试,请在您的附件类中添加: self.History = FakeGatoHistory('room', self) 更新值,例如: @Accessory.run_at_interval(3000) def run(self): .... self.History.addEntry({'time':round(time.time(
【文件预览】:
FakeGatoHistory-main
----timer.py(4KB)
----storage.py(5KB)
----Image.jpg(144KB)
----README.md(1KB)
----Class Example.py(3KB)
----history.py(26KB)

网友评论