<commit_before><md-toolbar class="md-warn"
            ng-if="!meteo && !humidity">
    <div class="md-toolbar-tools">
        <h2 class="md-flex">Merci d'aller renseigner l'URL du serveur dans les paramètres.</h2>
    </div>
</md-toolbar>

<p>
    <strong>Dernière actualisation :</strong>
    {{ getLastRefresh() | date:'shortTime' }}

    <md-button ng-click="refresh()"
               class="md-secondary md-raised">Rafraichir</md-button>
</p>

<h2 class="md-headline">Sonde Météo</h2>

<md-list>
    <md-list-item ng-repeat="m in meteo">
        <img src="http://lorempixel.com/150/150/"
             alt=""
             class="md-avatar"/>

        <div class="md-list-item-text">
            <p><strong>Température de l'air :</strong> {{ m.temp }} °C</p>

            <p><strong>Humidité ambiante :</strong> {{ m.humidity }} %</p>

            <p><strong>Pression atmosphérique :</strong> {{ m.pressure }} hpa</p>
        </div>
    </md-list-item>
</md-list>

<md-divider></md-divider>

<h2 class="md-headline">Sondes Arrosage</h2>

<md-list>
    <md-list-item ng-repeat="h in humidity">
        <img src="http://lorempixel.com/151/151/"
             alt=""
             class="md-avatar"/>

        <div class="md-list-item-text"
             ng-init="current = false">
            <p><strong>Humidité de la terre :</strong> {{ h.humidity }} %</p>

            <p><strong>Arrosage en cours :</strong> Non</p>

            <md-button class="md-secondary md-raised"
                       ng-click="setWaterSwitch(current = !current)">
                Lancer/arrêter l'arrosage
            </md-button>
        </div>
    </md-list-item>
</md-list><commit_msg>Give some feedback when watering<commit_after><md-toolbar class="md-warn"
            ng-if="!meteo && !humidity">
    <div class="md-toolbar-tools">
        <h2 class="md-flex">Merci d'aller renseigner l'URL du serveur dans les paramètres.</h2>
    </div>
</md-toolbar>

<p>
    <strong>Dernière actualisation :</strong>
    {{ getLastRefresh() | date:'shortTime' }}

    <md-button ng-click="refresh()"
               class="md-secondary md-raised">Rafraichir</md-button>
</p>

<h2 class="md-headline">Sonde Météo</h2>

<md-list>
    <md-list-item ng-repeat="m in meteo">
        <img src="http://lorempixel.com/150/150/"
             alt=""
             class="md-avatar"/>

        <div class="md-list-item-text">
            <p><strong>Température de l'air :</strong> {{ m.temp }} °C</p>

            <p><strong>Humidité ambiante :</strong> {{ m.humidity }} %</p>

            <p><strong>Pression atmosphérique :</strong> {{ m.pressure }} hpa</p>
        </div>
    </md-list-item>
</md-list>

<md-divider></md-divider>

<h2 class="md-headline">Sondes Arrosage</h2>

<md-list>
    <md-list-item ng-repeat="h in humidity">
        <img src="http://lorempixel.com/151/151/"
             alt=""
             class="md-avatar"/>

        <div class="md-list-item-text"
             ng-init="current = false">
            <p><strong>Humidité de la terre :</strong> {{ h.humidity }} %</p>

            <p>
                <strong>Arrosage en cours :</strong>
                <strong ng-if="current">Oui</strong>
                <span ng-if="!current">Non</span>
            </p>

            <md-button class="md-raised md-secondary"
                       ng-class="{'md-primary': current}"
                       ng-click="setWaterSwitch(current = !current)">
                <span ng-if="!current">Lancer l'arrosage</span>
                <span ng-if="current">Arrêter l'arrosage</span>
            </md-button>
        </div>
    </md-list-item>
</md-list>
{'fraction_non_alphanumeric': 0.18753447324875896, 'fraction_numerical': 0.009928295642581356, 'mean_word_length': 2.0894378194207834, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '2312538', 'n_tokens_mistral': 1305, 'n_tokens_neox': 1260, 'n_words': 218}