Starting with a fresh Ubuntu 18.10.
sudo apt update
sudo apt upgrade
sudo apt install python3-pip
sudo pip3 install jupyterlab
sudo pip3 install HASS-data-detective
sudo pip3 install homeassistant
class RmvCard extends HTMLElement { | |
set hass (hass) { | |
const entityId = this.config.entity | |
const state = hass.states[entityId] | |
const name = state.attributes['friendly_name'] | |
if (!this.content) { | |
const card = document.createElement('ha-card') | |
card.header = name | |
this.content = document.createElement('div') |
""" | |
Platform for a Generic Modbus Thermostat. | |
This uses a setpoint and process | |
value within the controller, so both the current temperature register and the | |
target temperature register need to be configured. | |
For more details about this platform, please refer to the documentation at | |
https://home-assistant.io/components/climate.modbus/ | |
""" |
""" | |
Support for Netatmo Smart Thermostat. | |
For more details about this platform, please refer to the documentation at | |
https://home-assistant.io/components/climate.netatmo/ | |
""" | |
import logging | |
from datetime import timedelta | |
import voluptuous as vol | |
from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE |
[Unit] | |
Description=Jupyter Lab | |
[Service] | |
User=ubuntu | |
Type=simple | |
ExecStart=/usr/local/bin/jupyter lab --port 8888 --ip=0.0.0.0 | |
WorkingDirectory=/home/ubuntu/Notebook | |
[Install] |