Homeassistant怎么调用实体sensor里面一个单独的内容?

我想单独调用天气sensor里面的内容,模拟一个sensor,用来做其他的自动化,主要看一下我自己写的sensor,谢谢大佬们
实体ID是:weather.lu_zhou
下面是我自己引用sensor写的

sensor:
  - platform: template
    sensors:
      suggestion:
        friendly_name: "舒适度"
        value_template:  "{{ state.attr('weather.lu_zhou', 'suggestion.title: comf.brf') }}"

然后ha里面一直报错,读不出来内容
image
以下是和风天气sensor里面的所有内容,内容有一点点多,不用仔细看

temperature: 29
temperature_unit: °C
humidity: 55
pressure: 960
pressure_unit: hPa
wind_bearing: 93
wind_speed: 11
wind_speed_unit: km/h
visibility_unit: km
precipitation_unit: mm
forecast:
  - datetime: '2023-08-02'
    condition: rainy
    text: 阵雨
    icon: '300'
    textnight: 阵雨
    winddirday: 北风
    winddirnight: 南风
    windscaleday: 1-2
    windscalenight: 1-2
    iconnight: '350'
    wind_bearing: 0
    temperature: 29
    templow: 24
    pressure: 963
    wind_speed: 3
    precipitation: 5.1
    humidity: 90
  - datetime: '2023-08-03'
    condition: rainy
    text: 阵雨
    icon: '300'
    textnight: 阵雨
    winddirday: 北风
    winddirnight: 南风
    windscaleday: 1-2
    windscalenight: 1-2
    iconnight: '350'
    wind_bearing: 0
    temperature: 31
    templow: 24
    pressure: 963
    wind_speed: 3
    precipitation: 2.5
    humidity: 93
  - datetime: '2023-08-04'
    condition: lightning-rainy
    text: 雷阵雨
    icon: '302'
    textnight: 阵雨
    winddirday: 北风
    winddirnight: 南风
    windscaleday: 1-2
    windscalenight: 1-2
    iconnight: '350'
    wind_bearing: 0
    temperature: 32
    templow: 24
    pressure: 962
    wind_speed: 3
    precipitation: 2.5
    humidity: 93
  - datetime: '2023-08-05'
    condition: rainy
    text: 小雨
    icon: '305'
    textnight: 小雨
    winddirday: 北风
    winddirnight: 北风
    windscaleday: 1-2
    windscalenight: 1-2
    iconnight: '305'
    wind_bearing: 0
    temperature: 33
    templow: 25
    pressure: 960
    wind_speed: 3
    precipitation: 1
    humidity: 93
  - datetime: '2023-08-06'
    condition: cloudy
    text: 阴
    icon: '104'
    textnight: 中雨
    winddirday: 北风
    winddirnight: 北风
    windscaleday: 1-2
    windscalenight: 1-2
    iconnight: '306'
    wind_bearing: 0
    temperature: 32
    templow: 25
    pressure: 958
    wind_speed: 3
    precipitation: 0
    humidity: 93
  - datetime: '2023-08-07'
    condition: rainy
    text: 小雨
    icon: '305'
    textnight: 小雨
    winddirday: 北风
    winddirnight: 北风
    windscaleday: 1-2
    windscalenight: 1-2
    iconnight: '305'
    wind_bearing: 0
    temperature: 33
    templow: 25
    pressure: 959
    wind_speed: 3
    precipitation: 1
    humidity: 90
  - datetime: '2023-08-08'
    condition: rainy
    text: 小雨
    icon: '305'
    textnight: 中雨
    winddirday: 北风
    winddirnight: 北风
    windscaleday: 1-2
    windscalenight: 1-2
    iconnight: '306'
    wind_bearing: 0
    temperature: 34
    templow: 25
    pressure: 959
    wind_speed: 3
    precipitation: 1
    humidity: 91
city: 江阳
qweather_icon: '100'
update_time: 2023-08-02 16:43
condition_cn: 晴
aqi:
  pubTime: 2023-08-02T16:00+08:00
  aqi: '33'
  level: '1'
  category: 优
  primary: NA
  pm10: '16'
  pm2p5: '7'
  no2: '4'
  so2: '4'
  co: '0.5'
  o3: '104'
hourly_forecast:
  - datetime: 2023-08-02 17:00
    cloudy: '17'
    temperature: 29
    condition: sunny
    text: 晴
    icon: '100'
    wind_bearing: 10
    wind_speed: 11
    precipitation: 0
    humidity: 73
    probable_precipitation: 20
    pressure: 964
  - datetime: 2023-08-02 18:00
    cloudy: '23'
    temperature: 28
    condition: sunny
    text: 晴
    icon: '100'
    wind_bearing: 21
    wind_speed: 9
    precipitation: 0
    humidity: 77
    probable_precipitation: 25
    pressure: 964
  - datetime: 2023-08-02 19:00
    cloudy: '28'
    temperature: 26
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 1
    wind_speed: 9
    precipitation: 1.3
    humidity: 89
    probable_precipitation: 70
    pressure: 963
  - datetime: 2023-08-02 20:00
    cloudy: '34'
    temperature: 26
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 21
    wind_speed: 7
    precipitation: 1.3
    humidity: 89
    probable_precipitation: 70
    pressure: 963
  - datetime: 2023-08-02 21:00
    cloudy: '29'
    temperature: 25
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 44
    wind_speed: 7
    precipitation: 1.3
    humidity: 88
    probable_precipitation: 70
    pressure: 963
  - datetime: 2023-08-02 22:00
    cloudy: '25'
    temperature: 25
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 89
    wind_speed: 7
    precipitation: 1.3
    humidity: 89
    probable_precipitation: 61
    pressure: 963
  - datetime: 2023-08-02 23:00
    cloudy: '20'
    temperature: 25
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 125
    wind_speed: 7
    precipitation: 0
    humidity: 89
    probable_precipitation: 49
    pressure: 964
  - datetime: 2023-08-03 00:00
    cloudy: '16'
    temperature: 25
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 154
    wind_speed: 7
    precipitation: 0
    humidity: 90
    probable_precipitation: 39
    pressure: 964
  - datetime: 2023-08-03 01:00
    cloudy: '11'
    temperature: 24
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 199
    wind_speed: 7
    precipitation: 0
    humidity: 91
    probable_precipitation: 20
    pressure: 964
  - datetime: 2023-08-03 02:00
    cloudy: '7'
    temperature: 24
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 217
    wind_speed: 7
    precipitation: 0
    humidity: 92
    probable_precipitation: 20
    pressure: 964
  - datetime: 2023-08-03 03:00
    cloudy: '8'
    temperature: 24
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 212
    wind_speed: 7
    precipitation: 0
    humidity: 92
    probable_precipitation: 20
    pressure: 964
  - datetime: 2023-08-03 04:00
    cloudy: '9'
    temperature: 24
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 205
    wind_speed: 7
    precipitation: 0
    humidity: 92
    probable_precipitation: 20
    pressure: 964
  - datetime: 2023-08-03 05:00
    cloudy: '11'
    temperature: 24
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 202
    wind_speed: 7
    precipitation: 0
    humidity: 92
    probable_precipitation: 20
    pressure: 963
  - datetime: 2023-08-03 06:00
    cloudy: '12'
    temperature: 24
    condition: clear-night
    text: 晴
    icon: '150'
    wind_bearing: 207
    wind_speed: 5
    precipitation: 0
    humidity: 94
    probable_precipitation: 16
    pressure: 962
  - datetime: 2023-08-03 07:00
    cloudy: '13'
    temperature: 24
    condition: sunny
    text: 晴
    icon: '100'
    wind_bearing: 214
    wind_speed: 5
    precipitation: 0
    humidity: 93
    probable_precipitation: 7
    pressure: 961
  - datetime: 2023-08-03 08:00
    cloudy: '14'
    temperature: 25
    condition: sunny
    text: 晴
    icon: '100'
    wind_bearing: 231
    wind_speed: 5
    precipitation: 0
    humidity: 90
    probable_precipitation: 7
    pressure: 960
  - datetime: 2023-08-03 09:00
    cloudy: '28'
    temperature: 26
    condition: sunny
    text: 晴
    icon: '100'
    wind_bearing: 262
    wind_speed: 7
    precipitation: 0
    humidity: 85
    probable_precipitation: 7
    pressure: 960
  - datetime: 2023-08-03 10:00
    cloudy: '41'
    temperature: 27
    condition: sunny
    text: 晴
    icon: '100'
    wind_bearing: 280
    wind_speed: 7
    precipitation: 0
    humidity: 81
    probable_precipitation: 7
    pressure: 960
  - datetime: 2023-08-03 11:00
    cloudy: '55'
    temperature: 28
    condition: partlycloudy
    text: 多云
    icon: '101'
    wind_bearing: 290
    wind_speed: 9
    precipitation: 0
    humidity: 78
    probable_precipitation: 7
    pressure: 961
  - datetime: 2023-08-03 12:00
    cloudy: '70'
    temperature: 29
    condition: partlycloudy
    text: 多云
    icon: '101'
    wind_bearing: 319
    wind_speed: 9
    precipitation: 0
    humidity: 75
    probable_precipitation: 10
    pressure: 961
  - datetime: 2023-08-03 13:00
    cloudy: '82'
    temperature: 30
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 350
    wind_speed: 11
    precipitation: 0.6
    humidity: 74
    probable_precipitation: 64
    pressure: 962
  - datetime: 2023-08-03 14:00
    cloudy: '96'
    temperature: 29
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 5
    wind_speed: 11
    precipitation: 0.6
    humidity: 81
    probable_precipitation: 64
    pressure: 963
  - datetime: 2023-08-03 15:00
    cloudy: '81'
    temperature: 29
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 17
    wind_speed: 11
    precipitation: 0.6
    humidity: 81
    probable_precipitation: 64
    pressure: 963
  - datetime: 2023-08-03 16:00
    cloudy: '67'
    temperature: 31
    condition: rainy
    text: 小雨
    icon: '305'
    wind_bearing: 41
    wind_speed: 9
    precipitation: 0.6
    humidity: 75
    probable_precipitation: 54
    pressure: 964
minutely_forecast:
  - time: '16:30'
    type: rain
    precipitation: 0
  - time: '16:35'
    type: rain
    precipitation: 0
  - time: '16:40'
    type: rain
    precipitation: 0.21
  - time: '16:45'
    type: rain
    precipitation: 0.66
  - time: '16:50'
    type: rain
    precipitation: 0.89
  - time: '16:55'
    type: rain
    precipitation: 0.3
  - time: '17:00'
    type: rain
    precipitation: 0.13
  - time: '17:05'
    type: rain
    precipitation: 0.12
  - time: '17:10'
    type: rain
    precipitation: 0.11
  - time: '17:15'
    type: rain
    precipitation: 0.1
  - time: '17:20'
    type: rain
    precipitation: 0.07
  - time: '17:25'
    type: rain
    precipitation: 0
  - time: '17:30'
    type: rain
    precipitation: 0
  - time: '17:35'
    type: rain
    precipitation: 0.05
  - time: '17:40'
    type: rain
    precipitation: 0.17
  - time: '17:45'
    type: rain
    precipitation: 0
  - time: '17:50'
    type: rain
    precipitation: 0
  - time: '17:55'
    type: rain
    precipitation: 0
  - time: '18:00'
    type: rain
    precipitation: 0
  - time: '18:05'
    type: rain
    precipitation: 0
  - time: '18:10'
    type: rain
    precipitation: 0
  - time: '18:15'
    type: rain
    precipitation: 0
  - time: '18:20'
    type: rain
    precipitation: 0
  - time: '18:25'
    type: rain
    precipitation: 0
suggestion:
  - title: sport
    title_cn: 运动指数
    brf: 较不宜
    txt: 有降水,推荐您在室内进行健身休闲运动;若坚持户外运动,须注意携带雨具并注意避雨防滑。
  - title: cw
    title_cn: 洗车指数
    brf: 不宜
    txt: 不宜洗车,未来24小时内有雨,如果在此期间洗车,雨水和路上的泥水可能会再次弄脏您的爱车。
  - title: drsg
    title_cn: 穿衣指数
    brf: 热
    txt: 天气热,建议着短裙、短裤、短薄外套、T恤等夏季服装。
  - title: 钓鱼指数
    title_cn: 钓鱼指数
    brf: 较适宜
    txt: 较适合垂钓,但天气稍热,会对垂钓产生一定的影响。
  - title: uv
    title_cn: 紫外线指数
    brf: 很强
    txt: 紫外线辐射极强,建议涂擦SPF20以上、PA++的防晒护肤品,尽量避免暴露于日光下。
  - title: trav
    title_cn: 旅游指数
    brf: 适宜
    txt: 有降水,温度适宜,在细雨中游玩别有一番情调,可不要错过机会呦!但记得出门要携带雨具。
  - title: 过敏指数
    title_cn: 过敏指数
    brf: 极不易发
    txt: 天气条件极不易诱发过敏,有降水,出行注意携带雨具。
  - title: comf
    title_cn: 舒适度指数
    brf: 不舒适
    txt: 白天天气较热,虽然有小雨,但仍然无法削弱较高气温给人们带来的暑意,这种天气会让您感到不舒适。
  - title: flu
    title_cn: 感冒指数
    brf: 少发
    txt: 各项气象条件适宜,无明显降温过程,发生感冒机率较低。
  - title: air
    title_cn: 空气污染扩散条件指数
    brf: 良
    txt: 气象条件有利于空气污染物稀释、扩散和清除,可在室外正常活动。
  - title: 空调开启指数
    title_cn: 空调开启指数
    brf: 较少开启
    txt: 您将感到很舒适,一般不需要开启空调。
  - title: 太阳镜指数
    title_cn: 太阳镜指数
    brf: 不需要
    txt: 白天天空阴沉,户外光线较暗,不需要佩戴太阳镜
  - title: 化妆指数
    title_cn: 化妆指数
    brf: 去油
    txt: 天气较热,建议用露质面霜打底,水质无油粉底霜,透明粉饼,粉质胭脂。
  - title: 晾晒指数
    title_cn: 晾晒指数
    brf: 不适宜
    txt: 有降水,不适宜晾晒。若需要晾晒,请在室内准备出充足的空间。
  - title: 交通指数
    title_cn: 交通指数
    brf: 一般
    txt: 有降水,能见度不太好且路面湿滑,交通气象条件一般,刹车距离延长,注意车距,务必小心驾驶。
  - title: 防晒指数
    title_cn: 防晒指数
    brf: 较弱
    txt: 紫外线强度较弱,建议涂擦SPF在12-15之间,PA+的防晒护肤品。
forecast_minutely: 10分钟后开始下中雨,70分钟后就停了
forecast_hourly: 2小时后转小雨。今天23点后转晴。
warning: []
winddir: 东风
windscale: '2'
custom_ui_more_info: qweather-more-info
attribution: Data provided by Qweather
friendly_name: 泸州

states.weather.lu_zhou.attributes.suggestion[7].brf
用这个试试