titilambert / pyhydroquebec

DEPRECATED - Get your consumption data from your HydroQuebec account (www.hydroquebec.com)
Apache License 2.0
94 stars 44 forks source link

Handle multiple contracts per customers #79

Open weimdall opened 2 years ago

weimdall commented 2 years ago

This commit allow pyhydroquebec to properly read the list of available contracts for each customers. By default the first contract is used, but another contract_id can be specified over the CLI / MQTT conf.

weimdall commented 2 years ago

This pull request should fix issues #69 and #51