80
388
1680
金牌会员
mqtt: sensor: - name: "vultr network traffic" unique_id: vultr_network_traffic state_topic: "us/vultr/billing_traffic" value_template: "{{ value_json.traffic | multiply(1.0/1073741824) | round(2) }}" unit_of_measurement: "GB"
使用道具 举报
18
587
4285
元老级技术达人
template: - trigger: - platform: time_pattern minutes: /5 sensor: - name: "xxxxxxxxxxxxxx" unique_id: "xxxxxxxxxxxxxx" state: '{{ states("sensor.vultr_network_traffic") }}' unit_of_measurement: "GB"
查看全部评分
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-11-25 02:00 , Processed in 0.058713 second(s), 28 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.