L大彩云的配置,这么多大版本更新过来从来没有问题的啊
我的部分配置参考(我配置的packages):
downloader:
download_dir: downloads
sensor:
- platform: CaiyunweatherSE
name: caiyun
devices:
- zone.home
api_key: g=VC3Vq4ykW6gk-1
#ui_devices:
#- zone.home
#- zone.office
#- device_tracker.p4m7n15211000293
#ui: True
alert: True
monitored_conditions:
realtime:
- temperature
- skycon
# - cloudrate
- aqi
- humidity
- pm25
# - o3
# - co
# - pm10
# - no2
# - pres
# - so2
precipitation:
- nearest_precipitation_distance
- nearest_precipitation_intensity
- local_precipitation_intensity
- local_datasource
- wind_direction
- wind_speed
hourly:
- description
- skycon
- cloudrate
- aqi
- humidity
- pm25
- precipitation
- wind
- temperature
。。。。。此处省略
。。。。。此处省略
script:
download_caiyundata:
sequence:
- service: sensor.download_caiyun_weatherdata_forecast
#- delay: 00:00:03
- service: sensor.download_caiyun_weatherdata_realtime
#- delay: 00:00:03
- service: sensor.download_caiyun_zone_home_forecast
automation:
- alias: caiyun_update
initial_state: true
trigger:
- platform: time_pattern
# hours: '/1'
minutes: '/20'
# seconds: '*'
# - platform: time
# hours: '/1'
# minutes: 21
# seconds: 0
# - platform: time
# hours: '/1'
# minutes: 41
# seconds: 0
condition:
condition: time
after: '00:35:00'
before: '23:55:00'
action:
- service: sensor.download_caiyun_weatherdata_forecast
- delay: 00:00:03
- service: sensor.download_caiyun_weatherdata_realtime
- delay: 00:00:03
- service: sensor.download_caiyun_zone_home_forecast
group:
Caiyun_Realtime:
name: 即时预报
control: hidden
view: no
entities:
- sensor.caiyun_realtime_skycon
- sensor.caiyun_realtime_temperature
- sensor.caiyun_realtime_humidity
- sensor.caiyun_precipitation_wind_direction
- sensor.caiyun_precipitation_wind_speed
- sensor.caiyun_realtime_cloudrate
- sensor.caiyun_realtime_aqi
。。。此处省略
。。。此处省略
|