HT Sensors + Fixed Price #21
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for tax-excluded prices (HT)
This PR adds support for tax-excluded prices (HT - Hors Taxes) alongside the existing tax-included prices (TTC - Toutes Taxes Comprises).
Changes
Added new sensors
Updated sensor naming and units
Code improvements
Documentation
Breaking Changes
The following sensor names have been updated to better reflect their content and maintain consistency. If you use these sensors in automations, dashboards, or scripts, you'll need to update their entity IDs:
Base Contract
sensor.tarif_basesensor.tarif_base_variable_ttcHP/HC Contract
sensor.tarif_heures_creusessensor.tarif_hphc_variable_hc_ttcsensor.tarif_heures_pleinessensor.tarif_hphc_variable_hp_ttcTempo Contract
sensor.tarif_tempo_heures_creusessensor.tempo_variable_hc_ttcsensor.tarif_tempo_heures_pleinessensor.tempo_variable_hp_ttcsensor.tarif_bleu_tempo_heures_creusessensor.tarif_bleu_tempo_heures_creuses_ttcsensor.tarif_bleu_tempo_heures_pleinessensor.tarif_bleu_tempo_heures_pleines_ttcsensor.tarif_blanc_tempo_heures_creusessensor.tarif_blanc_tempo_heures_creuses_ttcsensor.tarif_blanc_tempo_heures_pleinessensor.tarif_blanc_tempo_heures_pleines_ttcsensor.tarif_rouge_tempo_heures_creusessensor.tarif_rouge_tempo_heures_creuses_ttcsensor.tarif_rouge_tempo_heures_pleinessensor.tarif_rouge_tempo_heures_pleines_ttcAction Required
_ttcto distinguish them from the new tax-excluded (_ht) versionsNotes