async def log(
            self,
            date: datetime.date = None,
            days: int = None,
            details: bool = False) -> list:
        """Get watering information for X days from Y date."""
        endpoint = 'watering/log'
        if details:
            endpoint += '/details'

        if date and days:
            endpoint = '{0}/{1}/{2}'.format(
                endpoint, date.strftime('%Y-%m-%d'), days)

        data = await self._request('get', endpoint)
        return data['waterLog']['days']
Get watering information for X days from Y date.