tykeal / homeassistant-rental-control

Rental Control system for Home Assistant
39 stars 4 forks source link
airbnb hacs home-assistant ical locks sensor

Rental Control management for Home Assistant

pre-commit.ci status

Home Assistant Rental Manager is designed to handle the need for custom calendars and sensors to go with them related to managing rental properties.

Table of Contents

Features

Installation

To make full use of this integration, install Keymaster as this integration depends upon it.

MANUAL INSTALLATION

  1. Download the latest release
  2. Unpack the release and copy the custom_components/rental_control directory into the custom_components directory of your Home Assistant installation
  3. Restart Home Assistant
  4. Configure the Rental Control

INSTALLATION VIA Home Assistant Community Store (HACS)

  1. Ensure that HACS is installed
  2. Go to HACS -> Integrations
  3. Search for and install the Rental Control integration
  4. Restart Home Assistant
  5. Go to Configuration -> Devices & Services
  6. Press + ADD INTEGRATION
  7. Add Rental Control
  8. Configure the parameters
  9. Adding additional calendars can be done by adding another Rental Control integration in Devices & Services

Setup

The integration is set up using the GUI.

Reconfiguration

This integration supports reconfiguration after initial setup

NOTE: Changes may not be picked up right away. The default update cycle of the calendar is to check for updates every 2 minutes and events are refreshed around every 30 seconds. If you want to force a full update right away, select the ... menu next to Configure and select Reload

Known issues

While the integration supports reconfiguration a few things may not fully update after a reconfiguration. If you are having issues with reconfigured options not being picked up properly try reloading the particular integration installation or restart Home Assistant.

Frequently Asked Questions

Why does my calendar events say Reserved instead of the guest's name?

AirBnB does not include guest or booking details in the invite. What is included in the ics data varies by provider. Calendar ics URLs from some 3rd party tools (e.g. Host Tools) do include guest information and will show that rather than Reserved in calendar events.

Where can I find my rental calendar's ics URL?

Each provider has slightly different instructions:

How do I use custom calendars?

Custom calendars can be used as long as they provide a valid ICS file via an HTTPS connection. The events on the calendar can be done in multiple ways.

It is recommended that the event Summary (aka event title) contain the guest's name and not the word Reserved. It is strongly recommended that any calendar entries across the sensor count worth of events be unique. If the entries are not unique, Rental Control may run into issues as the event Summary is used in the slot management.

Data that will be pulled from the Description of the event (and the match keys):

And example calendar entry with all of this data might look like this:

Title: John and Jane Doe
Description:
    Phone: 555-555-5555
    Email: jdoe@example.com
    Guests: 2
    https://www.example.com/reservation/123456789

The following information would be extracted from this event:

Slot name: John and Jane Doe
Phone number: 555-555-5555
Last four: 5555
Email: jdoe@example.com
Number of guests: 2
Reservation URL: https://www.example.com/reservation/123456789