Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create decorator to check service permissions #22667

Merged
merged 17 commits into from
Apr 13, 2019
Prev Previous commit
Next Next commit
Linting
  • Loading branch information
bachya committed Apr 10, 2019
commit e280e47d65ee518a2bda72a15e59268ddf9dcd83
2 changes: 0 additions & 2 deletions homeassistant/components/rainmachine/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Support for RainMachine devices."""
import logging
from datetime import timedelta
from functools import wraps

import voluptuous as vol

@@ -130,7 +129,6 @@
}, extra=vol.ALLOW_EXTRA)



async def async_setup(hass, config):
"""Set up the RainMachine component."""
hass.data[DOMAIN] = {}