跳转至

天文-太阳、月亮与星座

太阳(sun)详解

  • 配置

    • 配置sun:包含在配置default_config:

    • 如果没有配置default_config:,可以在configuration.yaml中直接配置

      sun:
      
  • 实体sun.sun

    • 状态
      • above_horizon:地平线上
      • below_horizon:地平线下
    • 属性:next_xxxx

    • 属性:角度

      • elevation
      • azimuth

四季月亮星座

sensor:
  - platform: season
  - platform: moon

zodiac:
  • 月相

  • 十二星座

返回课程目录↩