This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Support for Ecovacs Deebot vacuums.""" | |
import logging | |
import random | |
import string | |
import voluptuous as vol | |
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, EVENT_HOMEASSISTANT_STOP | |
from homeassistant.helpers import discovery | |
import homeassistant.helpers.config_validation as cv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setting up the repo | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list | |
# Updating and installing | |
sudo apt-get update | |
# WARNING: check out the -y here... | |
sudo apt-get install -y mongodb-org | |
# For a specific version, use this command |