Add solar panel view with PV production, battery, grid, home load and Tesla charging
This commit is contained in:
@@ -31,6 +31,15 @@ TESLA_RANGE_ENTITY = os.getenv('TESLA_RANGE_ENTITY', 'sensor.lovelace_range')
|
||||
TESLA_CHARGING_ENTITY = os.getenv('TESLA_CHARGING_ENTITY', 'binary_sensor.lovelace_charging')
|
||||
TESLA_PLUGGED_ENTITY = os.getenv('TESLA_PLUGGED_ENTITY', 'binary_sensor.lovelace_plugged_in')
|
||||
|
||||
# Solar Configuration
|
||||
SOLAR_PRODUCTION_ENTITY = os.getenv('SOLAR_PRODUCTION_ENTITY', 'sensor.solar_production')
|
||||
SOLAR_BATTERY_ENTITY = os.getenv('SOLAR_BATTERY_ENTITY', 'sensor.inverter_battery')
|
||||
SOLAR_BATTERY_POWER_ENTITY = os.getenv('SOLAR_BATTERY_POWER_ENTITY', 'sensor.inverter_battery_power')
|
||||
SOLAR_GRID_POWER_ENTITY = os.getenv('SOLAR_GRID_POWER_ENTITY', 'sensor.inverter_grid_power')
|
||||
SOLAR_LOAD_POWER_ENTITY = os.getenv('SOLAR_LOAD_POWER_ENTITY', 'sensor.inverter_load_power')
|
||||
SOLAR_TODAY_ENERGY_ENTITY = os.getenv('SOLAR_TODAY_ENERGY_ENTITY', 'sensor.inverter_today_energy')
|
||||
TESLA_CHARGER_POWER_ENTITY = os.getenv('TESLA_CHARGER_POWER_ENTITY', 'sensor.tesla_carga_en_casa')
|
||||
|
||||
# MQTT Configuration
|
||||
MQTT_BROKER = os.getenv('MQTT_BROKER', '10.2.10.165')
|
||||
MQTT_PORT = int(os.getenv('MQTT_PORT', '1883'))
|
||||
|
||||
Reference in New Issue
Block a user