<commit_before># home-assistant-config

This repository contains my configuration for Home Assistant. It is installed on a Raspberry Pi model 2B.

## Contributions

If you have suggestions or improvements, please submit an issue or pull request.<commit_msg>added mysql to readme<commit_after># home-assistant-config

This repository contains my configuration for Home Assistant. It is installed on a Raspberry Pi model 2B.

## Database

I have quickly replaced the default sqlite database with MySQL.
The default database was growing rapidly and lead to bad performance.

To limit database growth, I limit recording as much as possible and purge the database for values older than 7 days.

## Contributions

If you have suggestions or improvements, please submit an issue or pull request.
{'fraction_non_alphanumeric': 0.03807106598984772, 'fraction_numerical': 0.0038071065989847717, 'mean_word_length': 4.801470588235294, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4679281', 'n_tokens_mistral': 187, 'n_tokens_neox': 176, 'n_words': 111}