Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.51 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.51 KB

iCal Sensor Support for Home Assistant

in your configuration.yaml you'll need:

sensor:
- platform: ical
  name: "My Calendar"
  url: "http://url.to/ical"

It will create sensors for the next few future calendar events, called:

  • sensor.my_calendar_event_0
  • sensor.my_calendar_event_1
  • sensor.my_calendar_event_2

etc

Manual Installation

Put the keys file (sensor.py, init.py and manifest.json) in your home-assistant config directory under custom_components/ical.

Custom Updater

ical_updater.json provide the details Custom Updater needs. See Custom Updater Installation to install it.

Setup

Add the following to your configuration:

custom_updater:
  track:
    - components
  component_urls:
    - https://raw.githubusercontent.com/tybritten/ical-sensor-homeassistant/master/ical_updater.json

Installing

To install it for the first time, use the custom_updater.install service with appropriate service data:

{
  "element": "ical-sensor-bundle"
}

Updating

Once the iCal component is installed it can easily be updated using the Tracker card. If you're not using the Tracker card then you can use the custom_updater.update_all service.