Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
m4dm4rtig4n committed Oct 15, 2021
1 parent 75b3cee commit 5e97542
Showing 1 changed file with 1 addition and 133 deletions.
134 changes: 1 addition & 133 deletions app/myenedis.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,143 +328,11 @@ def chop_to_n_decimals(x, n):
f.publish(client, f"sensor/{name}/state", str(state), ha_autodiscovery_prefix)
f.publish(client, f"sensor/{name}/attributes", json.dumps(attributes), ha_autodiscovery_prefix)

quit()

return ha_discovery

# typeCompteur: consommation
# horaireMinCall: 1041
# yesterdayConsumptionMaxPower: 9200
# halfhourly: []
# peak_hours: '40.304'
# yesterday_production: 0


# attribution: ''
# version: 1.3.1.14
# versionGit: 1.3.1.14
# versionUpdateAvailable: false
# nbCall: 12
# typeCompteur: consommation
# numPDL: '01226049119129'
# horaireMinCall: 1041
# activationDate: '2018-08-31'
# lastUpdate: '2021-10-14T22:31:32.484523'
# timeLastCall: '2021-10-14T22:32:19.680487'
# yesterday: 56055
# last_week: 289631
# yesterdayDate: '2021-10-13'
# yesterdayLastYear: 39768
# yesterdayLastYearDate: '2021-10-13'
# yesterdayConsumptionMaxPower: 9200
# day_1_HP: 40304
# day_2_HP: 30949
# day_3_HP: 31955
# day_4_HP: 41390
# day_5_HP: 30133
# day_6_HP: 36046
# day_7_HP: 35161
# day_1_HC: 15751
# day_2_HC: 8329
# day_3_HC: 5438
# day_4_HC: 6689
# day_5_HC: 6936
# day_6_HC: 6091
# day_7_HC: 6464
# dailyweek_cost:
# - '8.61'
# - '6.14'
# - '5.95'
# - '7.66'
# - '5.83'
# - '6.70'
# - '6.60'
# dailyweek_costHC:
# - '1.96'
# - '1.04'
# - '0.68'
# - '0.83'
# - '0.86'
# - '0.76'
# - '0.80'
# dailyweek_HC:
# - '15.751'
# - '8.329'
# - '5.438'
# - '6.689'
# - '6.936'
# - '6.091'
# - '6.464'
# dailyweek:
# - '2021-10-13'
# - '2021-10-12'
# - '2021-10-11'
# - '2021-10-10'
# - '2021-10-09'
# - '2021-10-08'
# - '2021-10-07'
# dailyweek_costHP:
# - '6.65'
# - '5.10'
# - '5.27'
# - '6.83'
# - '4.97'
# - '5.94'
# - '5.80'
# dailyweek_HP:
# - '40.304'
# - '30.949'
# - '31.955'
# - '41.390'
# - '30.133'
# - '36.046'
# - '35.161'
# day_1: '56.05'
# day_2: '39.28'
# day_3: '37.39'
# day_4: '48.08'
# day_5: '37.07'
# day_6: '42.14'
# day_7: '41.62'
# daily:
# - '56.05'
# - '39.28'
# - '37.39'
# - '48.08'
# - '37.07'
# - '42.14'
# - '41.62'
# halfhourly: []
# offpeak_hours:
# - - '22:38'
# - '23:59'
# - - '00:00'
# - '06:38'
# peak_hours: '40.304'
# peak_offpeak_percent: '71.90'
# yesterday_HC_cost: '1.959'
# yesterday_HP_cost: '6.647'
# daily_cost: '8.61'
# yesterday_HC: '15.751'
# yesterday_HP: '40.304'
# current_week: '132.726'
# current_week_number: 41
# current_week_last_year: '113.791'
# last_month: '1036.036'
# last_month_last_year: '921.418'
# current_month: '526.046'
# current_month_last_year: '480.054'
# last_year: '18702.059'
# current_year: '15394.750'
# errorLastCall: ''
# errorLastCallInterne: ''
# monthly_evolution: '12.439'
# current_week_evolution: '16.640'
# current_month_evolution: '9.581'
# yesterday_evolution: '40.955'
# subscribed_power: 12 kVA
# offpeak_hours_enedis: HC (22H38-6H38)
# yesterday_production: 0
# unit_of_measurement: kWh
# friendly_name: myEnedis.01226049119129

# yesterday_production: 0

0 comments on commit 5e97542

Please sign in to comment.