|
| 1 | +<template> |
| 2 | + <div class="vehicle-soc-aiways"> |
| 3 | + <openwb-base-alert subtype="info"> |
| 4 | + Alle Werte müssen von der Aiways App abgefangen werden. Dazu kann diese |
| 5 | + <a href="https://community.home-assistant.io/t/read-aiways-u5-state-of-charge/466441/5"> Anleitung </a> verwendet |
| 6 | + werden. |
| 7 | + </openwb-base-alert> |
| 8 | + <openwb-base-text-input |
| 9 | + title="User ID" |
| 10 | + required |
| 11 | + :model-value="vehicle.configuration.user_id" |
| 12 | + @update:model-value="updateConfiguration($event, 'configuration.user_id')" |
| 13 | + > |
| 14 | + </openwb-base-text-input> |
| 15 | + <openwb-base-text-input |
| 16 | + title="VIN" |
| 17 | + required |
| 18 | + :model-value="vehicle.configuration.vin" |
| 19 | + @update:model-value="updateConfiguration($event, 'configuration.vin')" |
| 20 | + > |
| 21 | + </openwb-base-text-input> |
| 22 | + <openwb-base-text-input |
| 23 | + title="Device ID" |
| 24 | + required |
| 25 | + :model-value="vehicle.configuration.device_id" |
| 26 | + @update:model-value="updateConfiguration($event, 'configuration.device_id')" |
| 27 | + > |
| 28 | + </openwb-base-text-input> |
| 29 | + <openwb-base-text-input |
| 30 | + title="Register ID" |
| 31 | + required |
| 32 | + :model-value="vehicle.configuration.register_id" |
| 33 | + @update:model-value="updateConfiguration($event, 'configuration.register_id')" |
| 34 | + > |
| 35 | + </openwb-base-text-input> |
| 36 | + <openwb-base-text-input |
| 37 | + title="Token" |
| 38 | + required |
| 39 | + :model-value="vehicle.configuration.token" |
| 40 | + @update:model-value="updateConfiguration($event, 'configuration.token')" |
| 41 | + > |
| 42 | + </openwb-base-text-input> |
| 43 | + <openwb-base-text-input |
| 44 | + title="Condition URL" |
| 45 | + subtype="url" |
| 46 | + required |
| 47 | + :model-value="vehicle.configuration.condition_url" |
| 48 | + @update:model-value="updateConfiguration($event, 'configuration.condition_url')" |
| 49 | + > |
| 50 | + </openwb-base-text-input> |
| 51 | + </div> |
| 52 | +</template> |
| 53 | + |
| 54 | +<script> |
| 55 | +import VehicleConfigMixin from "../VehicleConfigMixin.vue"; |
| 56 | +
|
| 57 | +export default { |
| 58 | + name: "VehicleSocAiways", |
| 59 | + mixins: [VehicleConfigMixin], |
| 60 | +}; |
| 61 | +</script> |
0 commit comments