|
223 | 223 | <channels>
|
224 | 224 | <channel id="sunrise" typeId="sunrise"/>
|
225 | 225 | <channel id="sunset" typeId="sunset"/>
|
| 226 | + <channel id="moonrise" typeId="moonrise"/> |
| 227 | + <channel id="moonset" typeId="moonset"/> |
| 228 | + <channel id="moon-phase" typeId="moon-phase"/> |
226 | 229 | <channel id="condition" typeId="condition"/>
|
227 | 230 | <channel id="condition-id" typeId="condition-id"/>
|
228 | 231 | <channel id="icon" typeId="condition-icon"/>
|
|
258 | 261 | <channel id="time-stamp" typeId="daily-forecast-time-stamp"/>
|
259 | 262 | <channel id="sunrise" typeId="sunrise"/>
|
260 | 263 | <channel id="sunset" typeId="sunset"/>
|
| 264 | + <channel id="moonrise" typeId="moonrise"/> |
| 265 | + <channel id="moonset" typeId="moonset"/> |
| 266 | + <channel id="moon-phase" typeId="moon-phase"/> |
261 | 267 | <channel id="condition" typeId="condition"/>
|
262 | 268 | <channel id="condition-id" typeId="condition-id"/>
|
263 | 269 | <channel id="icon" typeId="condition-icon"/>
|
|
389 | 395 | <state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
|
390 | 396 | </channel-type>
|
391 | 397 |
|
| 398 | + <channel-type id="moonrise"> |
| 399 | + <item-type>DateTime</item-type> |
| 400 | + <label>Moonrise Time</label> |
| 401 | + <description>Time of moonrise for the given day.</description> |
| 402 | + <category>Time</category> |
| 403 | + <state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/> |
| 404 | + </channel-type> |
| 405 | + |
| 406 | + <channel-type id="moonset"> |
| 407 | + <item-type>DateTime</item-type> |
| 408 | + <label>Moonset Time</label> |
| 409 | + <description>Time of moonset for the given day.</description> |
| 410 | + <category>Time</category> |
| 411 | + <state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/> |
| 412 | + </channel-type> |
| 413 | + |
| 414 | + <channel-type id="moon-phase"> |
| 415 | + <item-type>Number</item-type> |
| 416 | + <label>Moon Phase</label> |
| 417 | + <description>Moon phase for the given day. 0 and 1 are 'new moon', 0.25 is 'first quarter moon', 0.5 is 'full moon' |
| 418 | + and 0.75 is 'last quarter moon'. The periods in between are called 'waxing crescent', 'waxing gibous', 'waning |
| 419 | + gibous', and 'waning crescent', respectively.</description> |
| 420 | + <category>Moon</category> |
| 421 | + <state readOnly="true" pattern="%.2f"/> |
| 422 | + </channel-type> |
| 423 | + |
392 | 424 | <channel-type id="hourly-forecast-time-stamp">
|
393 | 425 | <item-type>DateTime</item-type>
|
394 | 426 | <label>Forecast Time</label>
|
|
0 commit comments